Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How get MAC address
Message
From
12/02/2011 04:45:05
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
12/02/2011 04:38:35
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Miscellaneous
Thread ID:
01499868
Message ID:
01499869
Views:
80
>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.

Download api_apprun by late Ed Rauh from here. It's almost 12 years old, and still runs great. With that you can run a hidden cmd box.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform