How do I add +1 value to an integer?
If myClientMachineIP.AddressFamily = Sockets.AddressFamily.InterNetwork Then
Label2.Text = myClientMachineIP.ToString()
TextBox2.Text = "IP is not equal to IPv4"
proov = +1
TextBox3.Text = proov
Loop Until proov = 10
VB.NET does not have the increment operator (
++), so the simplest way would be to use the addition assignment operator += Operator:
proov += 1
Another way is to explicitly add 1 to the value:
proov = proov + 1