Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Network domain or workgroup
Message
From
22/12/2008 22:11:28
 
 
To
22/12/2008 15:07:59
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01369239
Message ID:
01369287
Views:
8
>>
>>? Getenv("USERDNSDOMAIN")
>>? Getenv("USERDOMAIN")
>>
>hi Hugo..
>
>well.. I already try both here... the first one brings me null result
>
>the second brings the name of this computer on the LAN.. instead of the name of domain (or network workgroup name)

Unless your computer is part of a Windows Server domain, its "domain" will be your local computer.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform