Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

obtaining the local machine ip address

Status
Not open for further replies.

ridzz

Programmer
Sep 30, 2001
23
MY
Hi..

I would really appreciate if anyone could tell me how to get the ip address to the local machine. And display it in a textbox.. Thanx in advance.

p.s sorry.. but i think this question might have been previously asked, but the keyword search is down so can't find any other way to find the answer..
 
The easiest way is to use the Microsoft WinSock control and read it's LocalIP property.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top