Finding own IP address 
Author Message
 Finding own IP address

Hi,

Anybody knows the way a VB program can find out the IP address of the
computer it is running on?

I have used the OpenURL method, it gives me the IP address of the system I'm
talking to, but I'd like to have the IP address of the system I'm running
on.

I'm running VB 6.0

Thanks

Gilles Mass



Tue, 16 Jul 2002 03:00:00 GMT  
 Finding own IP address
Gilles ,
Take a gander at www.mvps.org/vbnet .

http://www.mvps.org/vbnet/code/network/ipaddress.htm
Randy Birch has a Sample which is more or less the same one at MSDN.
Neila


Quote:
> Hi,

> Anybody knows the way a VB program can find out the IP address of the
> computer it is running on?

> I have used the OpenURL method, it gives me the IP address of the system
I'm
> talking to, but I'd like to have the IP address of the system I'm running
> on.

> I'm running VB 6.0

> Thanks

> Gilles Mass



Tue, 16 Jul 2002 03:00:00 GMT  
 Finding own IP address
Do you have winsock ?
Use a winsock control and look at the localIp property.

Quote:

>Hi,

>Anybody knows the way a VB program can find out the IP address of the
>computer it is running on?

>I have used the OpenURL method, it gives me the IP address of the system
I'm
>talking to, but I'd like to have the IP address of the system I'm running
>on.

>I'm running VB 6.0

>Thanks

>Gilles Mass



Tue, 16 Jul 2002 03:00:00 GMT  
 Finding own IP address
Thanks,  John


Quote:
> Do you have winsock ?
> Use a winsock control and look at the localIp property.


> >Hi,

> >Anybody knows the way a VB program can find out the IP address of the
> >computer it is running on?



Tue, 16 Jul 2002 03:00:00 GMT  
 Finding own IP address
Thanks, Neila.

It is a neat site; stored in my favorites... now.

Gilles


Quote:
> Gilles ,
> Take a gander at www.mvps.org/vbnet .

> http://www.mvps.org/vbnet/code/network/ipaddress.htm
> Randy Birch has a Sample which is more or less the same one at MSDN.
> Neila



> > Hi,

> > Anybody knows the way a VB program can find out the IP address of the
> > computer it is running on?



Tue, 16 Jul 2002 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. How to get my own IP address?

2. finding ip address from isdn line

3. Finding an IP address

4. find IP address from web site

5. Finding IP addresses for use in Winsock

6. finding IP address in VB4

7. How to find my IP address

8. Finding IP Addresses for Dial up connection

9. finding ip addresses

10. Find IP address for a given Server Name

11. finding a client's ip address

12. Finding IP addresses for use in Winsock

 

 
Powered by phpBB® Forum Software