Get Mac Address that works in all versions of WIndows? - GetMacAddrModule.bas (0/1)

G

Gary Hillerson

I'm trying to get the Mac Address of a computer. I'm using the
attached module, which works fine in XP and Vista, but is not working
in Word 2010/Windows 7 64-bit -- it gets a compile error.

I've been searching for solutions online, and it looks like I should
be using GetAdapterAddresses instead of GetAdapterInfo, but I cant'
find any code that uses that function.

Does anyone have a Get Mac Address function that will work with XP,
Vista, and Windows 7 ??

thanks in advance,
Gary
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top