Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Citrix / Terminal Server
Message
From
17/07/2008 03:25:27
 
 
To
16/07/2008 07:58:34
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01331409
Message ID:
01331889
Views:
14
This message has been marked as a message which has helped to the initial question of the thread.
Hi Jos.

You can use Sys(0), just like on a networked machine. It will return the User's Login ID and the name of the Terminal Server they are logged into. You can also check GetEnv("ClientName") to see the name of the machine they are using to connect to the terminal Server, if that information is of use.

Ian Simcock.



>Thank you Ian. How can the VFP program know who is logged in so that we can restore each users personal preferences?
>
>Thank you.
>
>
>>Hi Jos.
>>
>>My company runs a number of Terminal Servers using FoxPro programs and it works fine. We haven't written the programs any differently than we normally would for any other desktop application. Terminal Server gives each user their own Temp directory, so there can't be conflicts there, and in the application directory, where all the users have access, it's no different that normal network programming. We use a front end menu I wrote to let the users select which application they want, mainly because we didn't want to give users a proper desktop. The only time we've had problems is when a programmer has installed a new ActiveX control on the server and forgot to switch the server into install mode first, so only they had assess to the control.
>>
>>All up it's worked brilliantly for us.
>>
>>Ian Simcock.
>>
>>
>>
>>>Hi All,
>>>
>>>Can anyone share insights and ideas about running a VFP application on a single server and allowing multiple people to run it, each in their own space i.e. so it does not interfere with other running instances.
>>>
>>>Thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform