John --
I understand your problem and have experienced similar difficulties myself.
My point was that I could not find any events that occurred when Citrix became disconnected, nor am I aware of how you can learn if they have happened. It seems to me that from the vantage point of your VFP application, it doesn't know about the status of the Citrix connection. In fact, I don't even know if it can tell that there is a Citrix connection.
Thus, from my experience, I can no more tell that the Citrix connection has dropped than I can tell that a user has simply walked away from the computer.
Sorry that this is of absolutely no assistance.
Jim
>My issue is I am finding that an important file is locked and the citrix user that has the lock is disconnected. But the citrix user believes all is well (although they are waiting for a transaction to complete) because they can see the program on the screen. When asked to do something in the program they get an immediate error.
>
>So I'm wondering how to fix this issue. They often crash in citrix (due to bad DSL connections mostly) so the disconnect timeout is large.
>
>Any suggestions will be helpful
>Thanks
>John
Jim Nelson
Newbury Park, CA