Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to programmatically get the Computer Name
Message
From
14/12/2007 11:06:59
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01275848
Message ID:
01275895
Views:
26
>>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform