hi,
i need a way to detect my local ip in vb.
ran shell("ipconfig.exe") but it doesnot exaclty work the way i want it to.
i need to get the ip and store it in a variable ipaddr.
it isurgent so pls. help.
regards
Printable View
hi,
i need a way to detect my local ip in vb.
ran shell("ipconfig.exe") but it doesnot exaclty work the way i want it to.
i need to get the ip and store it in a variable ipaddr.
it isurgent so pls. help.
regards
Press control+t
Add the 'Microsoft Winsock Control'/'Winsock Control' to your project
Put one on the form.
The just do
MsgBox Winsock1.LocalIP
Pino