Create a table in the database and have the application attempt to use it EXCLUSIVELY (in a TRY... CATCH or with an ON ERROR).
When the app crashes, in 99.999% of the cases, the exclusive lock goes away by itself. Yes, there is a way to check if the EXE is running, but that's more work. On Wed, Sep 16, 2015 at 2:17 PM, Wes Wilson <[email protected]> wrote: > I could create a flag but it will still be there if he crashes and tries to > get back in. > Is there not a way to check to see if an exe is running? Wes Wilson, > President ERW Custom Programming, Inc. Crescent Lake Plaza > 5459 Elizabeth Lake Rd. > Waterford, MI 48327 > (248) 683-4182 > www.visual-foxpro-programmer.com > www.erw.com [email protected] > > > --- StripMime Report -- processed MIME parts --- > multipart/alternative > text/plain (text body -- kept) > text/html > --- > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/CACW6n4sxzh-rL=6xgj+wvpo1nrfatdtpuqqh+94fhyp+trf...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

