Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
 

Dim id As Integer
Dim counter As Integer

counter = 5
 

While (counter > 0)
 

id = InputBox("Enter your ID")
 

MsgBox("Your ID is" & id)
 

counter = counter - 1
 

End While
 

MsgBox(" Bye Bye")
 

End Sub
End Class

Hosted by www.Geocities.ws

1