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 ---
Is this Visual FoxPro? I think the key would be to add a timer object to your _VFP object that checks for the existence of that file and if it finds it run the app's shutdown method.
Eric
On Tue, Nov 15, 2022 at 2:25 PM Virgil Bierschwale vbiersch@gmail.com wrote:
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]
thanks, may have to do it that way and I do have some code already that I have found, but I know there is a simple tool out there in a library format that I used to use that worked real good.
On Tue, Nov 15, 2022 at 3:53 PM Eric Selje Eric@saltydogllc.com wrote:
Is this Visual FoxPro? I think the key would be to add a timer object to your _VFP object that checks for the existence of that file and if it finds it run the app's shutdown method.
Eric
On Tue, Nov 15, 2022 at 2:25 PM Virgil Bierschwale vbiersch@gmail.com wrote:
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]
I have a copy on one of my production systems. Once I get done here I can look for the name and where I originally sourced it from. Might have been cpptimer or something like that.
On Tue, Nov 15, 2022 at 13:53 Eric Selje Eric@saltydogllc.com wrote:
Is this Visual FoxPro? I think the key would be to add a timer object to your _VFP object that checks for the existence of that file and if it finds it run the app's shutdown method.
Eric
On Tue, Nov 15, 2022 at 2:25 PM Virgil Bierschwale vbiersch@gmail.com wrote:
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]
thanks,
Virgil
On Tue, Nov 15, 2022 at 4:25 PM Michael Oke, II okeind@gmail.com wrote:
I have a copy on one of my production systems. Once I get done here I can look for the name and where I originally sourced it from. Might have been cpptimer or something like that.
On Tue, Nov 15, 2022 at 13:53 Eric Selje Eric@saltydogllc.com wrote:
Is this Visual FoxPro? I think the key would be to add a timer object to your _VFP object that checks for the existence of that file and if it
finds
it run the app's shutdown method.
Eric
On Tue, Nov 15, 2022 at 2:25 PM Virgil Bierschwale vbiersch@gmail.com wrote:
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]
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-bounces@leafe.com] On Behalf Of Virgil Bierschwale Sent: Tuesday, November 15, 2022 2:26 PM To: profoxtech@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]
thanks, that is probably what I will end up doing. just amazes me that I can't find the original tool. oh well, I noticed a lot of the old foxpro resource sites I used to use are no longer in existence.
On Tue, Nov 15, 2022 at 5:21 PM Paul H. Tarver paul@tpcqpc.com wrote:
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-bounces@leafe.com] On Behalf Of Virgil Bierschwale Sent: Tuesday, November 15, 2022 2:26 PM To: profoxtech@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]
I implemented this functionality a while back but did it with event binding to windows messaging on the directory - looking for new files (if I recall correctly). I found it to be much more reliable than timers and much more responsive. When the file is dropped in the directory the app knows about it almost immediately rather than waiting for the timer to come to the party.
Just a thought.
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Virgil Bierschwale Sent: Wednesday, 16 November 2022 9:48 PM To: profoxtech@leafe.com Subject: Re: Howdy Folks
thanks, that is probably what I will end up doing. just amazes me that I can't find the original tool. oh well, I noticed a lot of the old foxpro resource sites I used to use are no longer in existence.
On Tue, Nov 15, 2022 at 5:21 PM Paul H. Tarver paul@tpcqpc.com wrote:
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-bounces@leafe.com] On Behalf Of Virgil Bierschwale Sent: Tuesday, November 15, 2022 2:26 PM To: profoxtech@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]
That sounds like a better solution!
On Wed, Nov 16, 2022 at 5:00 AM Darren foxdev@ozemail.com.au wrote:
I implemented this functionality a while back but did it with event binding to windows messaging on the directory - looking for new files (if I recall correctly). I found it to be much more reliable than timers and much more responsive. When the file is dropped in the directory the app knows about it almost immediately rather than waiting for the timer to come to the party.
Just a thought.
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Virgil Bierschwale Sent: Wednesday, 16 November 2022 9:48 PM To: profoxtech@leafe.com Subject: Re: Howdy Folks
thanks, that is probably what I will end up doing. just amazes me that I can't find the original tool. oh well, I noticed a lot of the old foxpro resource sites I used to use are no longer in existence.
On Tue, Nov 15, 2022 at 5:21 PM Paul H. Tarver paul@tpcqpc.com wrote:
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-bounces@leafe.com] On Behalf Of
Virgil
Bierschwale Sent: Tuesday, November 15, 2022 2:26 PM To: profoxtech@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]
The FLL that I used, and Virgil is referencing, was not a timer instance but running outside of whatever happened to be displayed on the screen and sounds similar to what Darren is mentioning.
----------------------------- Michael Oke, II okeind@gmail.com 661-349-6221 -----------------------------
On Wed, Nov 16, 2022 at 7:11 AM Eric Selje Eric@saltydogllc.com wrote:
That sounds like a better solution!
On Wed, Nov 16, 2022 at 5:00 AM Darren foxdev@ozemail.com.au wrote:
I implemented this functionality a while back but did it with event
binding
to windows messaging on the directory - looking for new files (if I
recall
correctly). I found it to be much more reliable than timers and much more responsive. When the file is dropped in the directory the app knows about it almost immediately rather than waiting for the timer to come to the
party.
Just a thought.
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of
Virgil
Bierschwale Sent: Wednesday, 16 November 2022 9:48 PM To: profoxtech@leafe.com Subject: Re: Howdy Folks
thanks, that is probably what I will end up doing. just amazes me that I can't find the original tool. oh well, I noticed a lot of the old foxpro resource sites I used to use
are
no longer in existence.
On Tue, Nov 15, 2022 at 5:21 PM Paul H. Tarver paul@tpcqpc.com wrote:
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-bounces@leafe.com] On Behalf Of
Virgil
Bierschwale Sent: Tuesday, November 15, 2022 2:26 PM To: profoxtech@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]