I did something similar back in VFP6 where I added a VFP timer object to the main page and then we set the interval to 3-5 minutes (I can't really remember exactly how long) and the timer method would fire and check to see if a "SHUTDOWN" file was found and if so, it would display a message to the user with a 90 second countdown to give them time to close the application. If they didn't respond, the shutdown message form would request a Save method on the parent form to save whatever was open at the time and then it would close the application. I also checked for the existence of the "SHUTDOWN" file when starting the application and if found, it would provide a user message and then shut down.
The coding for that is old and antiquated so I'll not embarrass myself by posting. But the logic was pretty much as stated. I guess my point is I just used the native VFP timer object to trigger the automated shutdown everything. Paul H. Tarver Tarver Program Consultants, Inc. -----Original Message----- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Virgil Bierschwale Sent: Tuesday, November 15, 2022 2:26 PM To: profoxt...@leafe.com Subject: Howdy Folks Been a long time. I'm back maintaining a foxpro system Back in the 90's I used a utility that would allow me to put a text file named shutdown.txt in the root folder and it would force all users out. Been googling and can't find it anymore. Any of you remember it? Looking for a way to kick users out so I can reindex when necessary. Thanks, Virgil --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/037f01d8f948$e387d0c0$aa977240$@tpcqpc.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.