Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 How do you find your own IP address?
Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
HazySmoke)345




PostPosted: Thu Mar 02, 2006 6:33 pm   Post subject: How do you find your own IP address?

With VB, of course.
Sponsor
Sponsor
Sponsor
sponsor
tupac




PostPosted: Thu Mar 02, 2006 7:07 pm   Post subject: (No subject)

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

txtbox.text = Winsock1.LocalIP
HazySmoke)345




PostPosted: Thu Mar 02, 2006 7:47 pm   Post subject: (No subject)

Thanks. +10 bits.
md




PostPosted: Thu Mar 02, 2006 7:50 pm   Post subject: (No 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.
Display posts from previous:   
   Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: