>I would like to add functionality to my VFP Application so it knows if the user launched it from a certain 'site' on our Windows Domain and if so, have it shut down. We only want these users working over the WAN to use our app in Terminal Services. Any thoughts?
If you have a table of workstation names, you could check them against sys(0). If the getwordnum(sys(0), 1, "# ") returns one of these names instead of one of TS server names, it's run wrong way.