Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to programmatically get the Computer Name
Message
De
14/12/2007 11:06:59
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01275848
Message ID:
01275895
Vues:
25
>>Need to get the name of the computer that an exe is running on. Thanks!
>
>In addition see Re: Getting computer name Thread #1209339 Message #1209354

That seems very involved when it looks like I can just use
ALLTRIM(LEFT(SYS(0),AT('#',SYS(0))-1))
Other than checking for an invalid computer name, when would you use the other code instead of this?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform