PDA

Click to See Complete Forum and Search --> : Local IP


Cbomb
Jul 31st, 1999, 12:40 AM
This is simple to you guys out there I'm sure...How do I gat the IP of my Local machine?

desquite
Jul 31st, 1999, 01:04 AM
In your form add a winsock control, a text box, and a command button. Put this code in your command button sub.

Text1.Text = Winsock1.LocalIP

Jul 31st, 1999, 01:07 AM
This is dejavu. Someone else answered this question this week saying to add a winsock control and check the Local IP property. Another way is to use the "ipconfig" program from DOS shell or using the SHELL command.