>>Is there a way for a VFP6.0 exe to detect if it's being run on Terminal Server?
>
>Yep. MSKB#
Q251066.
>
>Hey, MikeStew, wasn't that one of yours?
This work well for older windows versions. But if you have Windows XP and Remote Desktop turned on, the function returns a true value. This may cause problems depending on how you use it.
The function may need to be modified to determine if the OS is a Workstaion or a Server.