Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function for capturing PC Name?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01212880
Message ID:
01212888
Vues:
9
Hey, that is really a clean little function. Nice.

Thank you Marti,

Cecil

>Hi Cecil,
DECLARE INTEGER GetComputerName IN KERNEL32.DLL STRING @, INTEGER @
lclpBuffer=SPACE(30)+CHR(0) && Set Buffer
liSize=LEN(lclpBuffer) && Size of buffer
lii=GetComputerName(@lclpBuffer,@liSize) && Get computer name
?lclpBuffer
MartiJ

>>Is there some kind of function which can capture the name of the Workstation, or PC Name?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform