|
-
May 4th, 2004, 12:30 AM
#1
Thread Starter
Member
MAC adress
I wan to get the MAC address of the m/c on which my application
is runninng... How do I do it?
Nahush
-
May 4th, 2004, 12:37 AM
#2
PowerPoster
-
May 4th, 2004, 12:49 AM
#3
Thread Starter
Member
re
the link provided above contains declarations such as
Public Const NCBASTAT As Long = &H33
Public Const NCBNAMSZ As Long = 16
Public Const HEAP_ZERO_MEMORY As Long = &H8
Public Const HEAP_GENERATE_EXCEPTIONS As Long = &H4
Public Const NCBRESET As Long = &H32
and a error is given for these as
"Constants, fixed-length strings, arrays, user-defined types, and Declare statements not allowed as Public members of an object module"
Nahush
-
May 4th, 2004, 12:59 AM
#4
Thread Starter
Member
result
All the functions have to be made Private
The code is fine
Thanx a ton
Nahush.
-
May 4th, 2004, 01:38 AM
#5
PowerPoster
Code thats declared as a public can be put into a module, but if you only have one form, just set them all to private.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|