Home All Groups Group Topic Archive Search About

VB6 Get Remote MAC Address Windows 98

Author
26 Apr 2006 4:59 PM
jasondavidcarr
Hello all,

I'm really struggling with this one.  I have this working just fine in
2000 and XP using the SendARP API.  Unfortunately, however, this API
does not exist in 98.  I need some way to retrieve a MAC address of a
remote machine via the remote machine's IP address.  Basically, all I
need is an alternative to the SendARP API for Windows 98.  Does anyone
have any suggestions/ideas?  I've searched the Internet up and down for
a solution and so far it looks like I'm SOL.

Thanks,
Jason

Author
27 Apr 2006 1:06 PM
Norm Cook
See this page and the related pages:
http://vbnet.mvps.org/code/network/hostnamefromip.htm

<jasondavidc***@gmail.com> wrote in message
Show quoteHide quote
news:1146070743.388339.259510@j33g2000cwa.googlegroups.com...
> Hello all,
>
> I'm really struggling with this one.  I have this working just fine in
> 2000 and XP using the SendARP API.  Unfortunately, however, this API
> does not exist in 98.  I need some way to retrieve a MAC address of a
> remote machine via the remote machine's IP address.  Basically, all I
> need is an alternative to the SendARP API for Windows 98.  Does anyone
> have any suggestions/ideas?  I've searched the Internet up and down for
> a solution and so far it looks like I'm SOL.
>
> Thanks,
> Jason
>
Author
27 Apr 2006 4:21 PM
jasondavidcarr
Thanks for the attempt, but I've already read through all of those
pages (over and over again).  None of them solve my problem.  The key
issues that are different are that I need to retrieve a REMOTE
machine's MAC, and I need to do it under Windows 98.  There's a
solution there that I've already implemented for XP and 2K, but it
doesn't work under 98.  Any other suggestions?
Author
30 Apr 2006 1:17 PM
Ian R
You can get it through WMI. It isn't part of Win 9x so you'll have to
download it from Microsoft.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/wmi_start_page.asp

<jasondavidc***@gmail.com> wrote in message
Show quoteHide quote
news:1146154869.837774.149370@u72g2000cwu.googlegroups.com...
> Thanks for the attempt, but I've already read through all of those
> pages (over and over again).  None of them solve my problem.  The key
> issues that are different are that I need to retrieve a REMOTE
> machine's MAC, and I need to do it under Windows 98.  There's a
> solution there that I've already implemented for XP and 2K, but it
> doesn't work under 98.  Any other suggestions?
>