Getting IP Address on machine I am using 
Author Message
 Getting IP Address on machine I am using

Is there a simple way to retrieve the IP address of the machine I am
currently working on? Similar to the dos command ipconfig, but I want to
them be able to have it display in a MsgBox.

Thanks,

Matt



Mon, 12 Aug 2002 03:00:00 GMT  
 Getting IP Address on machine I am using
Check out the WinSock control


Quote:
> Is there a simple way to retrieve the IP address of the machine I am
> currently working on? Similar to the dos command ipconfig, but I want to
> them be able to have it display in a MsgBox.

> Thanks,

> Matt



Mon, 12 Aug 2002 03:00:00 GMT  
 Getting IP Address on machine I am using
Thanks! Here's what I learned:

Add winsock control and Label1...

Private Sub Form_Load()
    Label1.Caption = Winsock1.LocalIP
End Sub

Matt


Quote:
> Check out the WinSock control



> > Is there a simple way to retrieve the IP address of the machine I am
> > currently working on? Similar to the dos command ipconfig, but I want to
> > them be able to have it display in a MsgBox.

> > Thanks,

> > Matt



Mon, 12 Aug 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Getting a machine's MAC address given a NETBIOS machine name or IP address

2. Getting IP address of current machine with VB5

3. Getting IP address of current machine with VB5

4. Getting Local IP Address of Machine

5. Getting IP Address of Local Machine

6. Getting IP address of current machine with VB5

7. Getting IP address of current machine with VB5

8. Getting the IP addresses of remote machines

9. getting machine info from an IP address

10. Getting Local machine IP address

11. Getting the List of IP addresses for a remote machine

12. Getting IP Address using VBScript

 

 
Powered by phpBB® Forum Software