Get IPAddress

  • Thread starter Thread starter Lee
  • Start date Start date
L

Lee

Hi,
How do i get the current machines IP addess and store it to a field using
Access 2000 in VB?
TIA
Lee
 
Hi thanks for the reply.
I did get the ip address of the computer, however, there were two address in
the returned results.
127.0.0.1
192.168.15.100
How can i get just one of them? which is the proper IP address... (i never
saw the 127 address before--what does this mean?
TIA
Lee
 
127.0.0.1 is simply the Loopback address of the machine. It is not anything
other than that and basically all PC based computers have a loopback of
127.0.0.1
--
Bob Larson
Access World Forums Super Moderator
Utter Access VIP
Tutorials at http://www.btabdevelopment.com
If my post was helpful to you, please rate the post.
__________________________________
 
As boblarson said, you can ignore the 127.0.0.1. However, a computer can
still have more than one "real" IP address, if it has more than one network
card connecting it to more than one network or (more likely) if it is
connected to other networks using VPN's.
 
Back
Top