Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get name of the form in LOAD method?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01563533
Message ID:
01563553
Views:
46
>>>>
>>>>As I think more about this situation, more importantly would be to know the work station where the application is running and the user who is logged in. How do you find these two pieces of information from VFP application?
>>>
>>>I typically store this kind of values in my goApp application object.
>>
>>How do you get - from within your VFP application - the work station name or IP?
>
>? GetEnv("USERNAME")
>? GetEnv("COMPUTERNAME")
>? GetEnv("USERDOMAIN")

Hi Hugo,
Thank you very much. On my computer - which is not on the network - when I call GetEnv("COMPUTERNAME") I get the actual computer name (e.g. "dmitry12333'). If I were on the corporate network would I get the same, computer name or IP of the computer?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform