Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get network name
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01449918
Message ID:
01449920
Views:
37
>All,
>i'm trying to find out the name of the domain that my application is running on and if the domain is x then show a different screen. only thing is i don't know how to get the domain name in vfp, i've had a look through sys commands but nothing in there, any ideas?
>~M

For instance,
oWSHNet = CREATEOBJECT('Wscript.Network')
?oWSHNet.UserDomain
Good Luck
Previous
Reply
Map
View

Click here to load this message in the networking platform