Thanks Macer, sorry for the delayed thanks. Have not logged on in a while
>This is the code that I use.
>
>
>************************************************************
>* A new func to return whether the session is a client of terminal services
>*************************************************************
>PROCEDURE IsTerminalService
>LPARAMETERS tlIsTerminalService
>
>DECLARE INTEGER GetSystemMetrics IN User32.dll INTEGER
>
>tlIsTerminalService = ( GetSystemMetrics( 4096) > 0)
>
>CLEAR DLLS
>
>RETURN 0
>
>
>
>
>>Need to be able to detect if VFP app is running on Citrix. Any help would be appreciated.
What ben makes tracks for what wil be. Words in the air pirnt foot steps on the groun for us to put our feet in to.
Riddley Walker