In my Visual Basic program, I need to verify that a variable is in fact an IP address.
myIP = "192.168.0.1"
check = verifyIP(myIP)
Private Function verifyIP(myIP)
'Your code here will return true or false
verifyIP = true
PS: I will only give points to full working code.