Mac Address from Remote Client

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

Guest

Hi,

I'm searching for a possibillity to get the MAC Address from an remote
Computer in our LAN. I know there should be the possibilty with the
iphlpapi.dll but how it works?
 
Hi Frank,

Go to http://www.vbnet.mvps.org/ and search for "mac address". This
returns some promising-looking results.

Despite the "vbnet" name, this is classic VB code that will work in
VBA with little or no modification.
 
While it's true that the VB code will usually work in VBA, it's probably
worth pointing out that because there are significant differences between
the controls available for forms in VB and in Access, many of Randy's
example won't actually port directly in Access. One significant issue is
that in VB, you always refer to the Text property of controls to get their
current value. You cannot do that in Access unless the control has focus.
 
Thanks for your response.
I have tried the example from this website. It works fine with remote comuters
in our network which have the same Subnet. Additionally we have some remote
computers which are connected over router to our LAN. So this remote
computers have an diffrnet subnet. This example don't work with that
computers. I think
that is logical because this example uses the sendarp methode. Arp and
routers can't work. For the "nbtstat -a <IPAdresse>" command in the DOS Shell
it is no problem. Is there in API or anything else that use "nbt" functions?
 
No idea, You'd have to check with Randy. Your best bet for that is
in one of the VB6 newsgroups. either that or search around his
website. It's pretty easy to search.

I searched his site - nothing there... you could check MS or post in a
VB6-specific NG.
 
Back
Top