Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I get the NIC address in VFP?
Message
De
26/10/1999 19:14:50
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00281723
Message ID:
00281935
Vues:
27
>Here I go again. In gool old DOS on Novell I could get the P_STATION number, the ethernet card address, using any number of different librarys. We use this to track errors and all kinds of things. How can I get this number in VFP? Is it also possible to get the name the user used to log into the network? Again this was easy in the old days.

IP Address:

oWinSock = CreateObject("MSWinsock.Winsock")
?oWinSock.LocalIP

Username and machine name:

SYS(0)
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform