Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How get MAC address
Message
From
12/02/2011 04:38:35
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How get MAC address
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Miscellaneous
Thread ID:
01499868
Message ID:
01499868
Views:
130
To the best VFP community -

Can anyone tell me how to access the Ethernet card Hex MAC address within a VFP program?

I have tried using the run command like 'RUN /2 ipconfig /all > atextfile'
But this always opens a cmd box and one then needs a separate routine to parse and read the textfile.
No problem reading and parsing the file - but the CMD box on the screen does not look good.

Many thank you's to any one who might know how to solve this one.

Richard Balluff
RLB Associates
916 663-6285
408 396-0035
rlb35@sbcglobal.net
Dick Balluff
Next
Reply
Map
View

Click here to load this message in the networking platform