I have a lengthy project of converting VB6 code to VB.NET. This is the beginning of the code. I can't figure out how to change the val(mid$( to VB.NET and the Line Input # doesn't seem to have a direct translation to VB.NET either. I am trying to learn how to go about the conversion to ensure...
I want to convert following code which is VB6 to Vb.Net.Could anybody can do it?
Private Sub Form_Load()
Winsock1.Protocol = sckUDPProtocol
Winsock1.RemoteHost = "192.168.1.100"
Winsock1.RemotePort = 6000
Private Sub Timer_OFF_Click()
Timer1.Enabled = False