Computer Science Canada

How do you find your own IP address?

Author:  HazySmoke)345 [ Thu Mar 02, 2006 6:33 pm ]
Post subject:  How do you find your own IP address?

With VB, of course.

Author:  tupac [ Thu Mar 02, 2006 7:07 pm ]
Post subject: 

just make a text box (or watever), then put a winsock object onto the form, and type:
code:

txtbox.text = Winsock1.LocalIP

Author:  HazySmoke)345 [ Thu Mar 02, 2006 7:47 pm ]
Post subject: 

Thanks. +10 bits.

Author:  md [ Thu Mar 02, 2006 7:50 pm ]
Post subject: 

'course that would only get you your own local IP; rather useless if your trying to get an IP people from outside yoru firewall/NAt (and if you don't have one... tsk tsk) to be able to connect to you.


: