Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get Network Adapter Address (MAC?)
Message
 
 
À
26/09/2001 15:15:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00477977
Message ID:
00561193
Vues:
40
>Mark,
>
>couldn't you run the OS ipconfig command into a file and parse that in VFP? Something like:
RUN ipconfig /all > c:\temp\ipcfg.txt
>lcIPCfg = FILETOSTR("c:\temp\ipcfg.txt")
>* parse lcIPCfg for MAC addresses
>HTH Robert

I could but that is too messy and I don't like the COMMAND window flash across the screen. The OCX from CompuServer that Rick Bean alerted me to does the trick flawlessly.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform