View Single Post
Old November 25th, 2003, 04:23 PM     #4 (permalink)
amtrac24
Member
 
Join Date: Oct 2003
Posts: 263
very easy to do

I dont know how well you know vb but here goes...

Open or start a new project

->Project
-->Components

->go down to Microsoft Winsock ver. bla bla (check that off and hit ok)

->Put the tool from the tool menu on the form.

The code on the form is as follows:


Private Sub Form_Load()
Dim strIP As String

strIP = Winsock1.LocalIP

End Sub


Basically all you are doing is throwing your ip address into a variable called strIP...if you have any questions post back or e-mail me
amtrac24 is offline   Reply With Quote