how do i get it? (i know about winipcfg, i am talking about through vb programming though)
(you might also refer to it as "internal ip")
Printable View
how do i get it? (i know about winipcfg, i am talking about through vb programming though)
(you might also refer to it as "internal ip")
Use winsock control!
Then:
Private Sub Command4_Click()
MsgBox winsock1.LocalIP
End Sub
using the winsock control:
this should work.Code:dim ip as string
ip = winsock1.localip
debug.print ip
[late post .... DOH!!!!]