Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VBA code to capture Computer device unique ID number

2 views
Skip to first unread message

Zikar

unread,
Nov 13, 2007, 12:11:00 AM11/13/07
to
I am seeking knowledge of how to write a VBA code in access 2003 that allows
me to call a property function by which I can capture a unique number which
identifies the computer hardware device. I am thinking of something like the
MAK Number that is associated with the hardware of interest since it is
unique and cannot be repeated in any other device. The purpose of this
function is that I would grant accessibility for users to my database
application only if the hardware can be identified in a table that contains
approved MAK numbers. I would greatly appreciate the help I can get in this
regard.

Allen Browne

unread,
Nov 13, 2007, 7:05:11 AM11/13/07
to
VBNet has some VB code to do this that should work similarly in VBA.

Example:
http://vbnet.mvps.org/code/network/macaddressremote.htm

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Zikar" <Zi...@discussions.microsoft.com> wrote in message
news:ADC0109B-E2E2-475A...@microsoft.com...

Zikar

unread,
Nov 13, 2007, 8:48:01 AM11/13/07
to
I thank you very much Allen. Your tip has been valuable.Greatly appreciated.
Cheers
0 new messages