MAC Address

MAC Address

Anonymous
Not applicable
468 Views
5 Replies
Message 1 of 6

MAC Address

Anonymous
Not applicable
Hi,

I have been trying to find a reliable way of establishing the MAC address of
a computer in VB 6 and VBA.

I've tried the BrownBagX.DLL which works on some computers but not all I've
tried.

I've tried code downloaded from VBNet, but have the same problems on the
computers where the BrownBagX fails.

Is there a reliable way of getting the MAC Address ?

Is there some feature about MAC addresses which requires understanding.

--


Laurie Comerford
CADApps
www.cadapps.com.au
0 Likes
469 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable
Have you checked-out www.acadx.com? I believe I saw this there under the
Win32 API code section.

--

James Dee
http://www.caddee.com



"Laurie Comerford" wrote in message
news:A32C7C45732D96C1F59DC2137BE87633@in.WebX.maYIadrTaRb...
> Hi,
>
> I have been trying to find a reliable way of establishing the MAC address
of
> a computer in VB 6 and VBA.
>
> I've tried the BrownBagX.DLL which works on some computers but not all
I've
> tried.
>
> I've tried code downloaded from VBNet, but have the same problems on the
> computers where the BrownBagX fails.
>
> Is there a reliable way of getting the MAC Address ?
>
> Is there some feature about MAC addresses which requires understanding.
>
> --
>
>
> Laurie Comerford
> CADApps
> www.cadapps.com.au
>
>
>
>
0 Likes
Message 3 of 6

Anonymous
Not applicable
laurie,

not my idea and even not used, but maybe this is a help for you

http://www.mvps.org/vbnet/index.html?code/network


- alfred -
(before i found that internet-adress i thought about make a shell, call
"ipconfig /all" (not win95 i think) and capture the output)


In article ,
laurie@cadapps.com.au says...
> Hi,
>
> I have been trying to find a reliable way of establishing the MAC address of
> a computer in VB 6 and VBA.
>
> I've tried the BrownBagX.DLL which works on some computers but not all I've
> tried.
>
> I've tried code downloaded from VBNet, but have the same problems on the
> computers where the BrownBagX fails.
>
> Is there a reliable way of getting the MAC Address ?
>
> Is there some feature about MAC addresses which requires understanding.
>
> --
>
>
> Laurie Comerford
> CADApps
> www.cadapps.com.au
>
>
>
>
>
0 Likes
Message 4 of 6

Anonymous
Not applicable
Hi Alfred and James,

As I said in my initial post I could not find any code at VBNet which worked
on all of our computers.

However the Code from ACADX worked on every computer on which I tried it.

In addition the code was understandable to someone of my limited skills and
it did not require any DLLs, etc. ie an excellent job.

--


Laurie Comerford
CADApps
www.cadapps.com.au


"Alfred NESWADBA" wrote in message
news:MPG.183dc1d14ce39a169896ac@discussion.autodesk.com...
> laurie,
>
> not my idea and even not used, but maybe this is a help for you
>
> http://www.mvps.org/vbnet/index.html?code/network
>
>
> - alfred -
> (before i found that internet-adress i thought about make a shell, call
> "ipconfig /all" (not win95 i think) and capture the output)
>
>
> In article ,
> laurie@cadapps.com.au says...
> > Hi,
> >
> > I have been trying to find a reliable way of establishing the MAC
address of
> > a computer in VB 6 and VBA.
> >
> > I've tried the BrownBagX.DLL which works on some computers but not all
I've
> > tried.
> >
> > I've tried code downloaded from VBNet, but have the same problems on the
> > computers where the BrownBagX fails.
> >
> > Is there a reliable way of getting the MAC Address ?
> >
> > Is there some feature about MAC addresses which requires understanding.
> >
> > --
> >
> >
> > Laurie Comerford
> > CADApps
> > www.cadapps.com.au
> >
> >
> >
> >
> >
0 Likes
Message 5 of 6

Anonymous
Not applicable
laurie could you post the code that worked for you?

thanks
0 Likes
Message 6 of 6

Anonymous
Not applicable
bump
0 Likes