Right-click @ all the buttons ->Components -> Scroll down to "Microsoft Winsock Control 6.0 (SP6)" -> Click ->Ok
you'll now get 2 computers left to the OLE button, click the computers/winsock control and place it in the form
Next make a text box/ label, your choice. I'll be using a textbox.
Now double click at the form.
Write:
Private Sub Form_Load() Text1.Text = Winsock.LocalIP End Sub

Help










