Obtain the current system IP address

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello All,

Is there a way to obtain the current system IP address from within access
using VB? Like some kind of API call?
 
Hi, Mark.
Is there a way to obtain the current system IP address from within access
using VB? Like some kind of API call?

Yes. Please see the following Web page:

http://vbnet.mvps.org/index.html?code/network/getadaptersinfo-localipaddress.htm

And please scroll down to the bottom of the Web page to read a personal
request from the author, Randy Birch.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
Blog: http://DataDevilDog.BlogSpot.com
http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
info.
 
Is there a way to obtain the current system IP address from within
access using VB? Like some kind of API call?

My system usually has more than one IP address, so you need code
that allows you to select by specific adaptor.
 
Back
Top