1. Run on shutdown

I'm making a program which cleans various history lists in windows. I'm 
trying to incorporate an option 'clean on shutdown' which will, provided 
the program is in the system tray, automatically execute a certain 
fuction on shutdown then the shutdown will continue.

Can anyone offer any advice on doing this?

Thanks

Peter

new topic     » topic index » view message » categorize

2. Re: Run on shutdown

> I'm making a program which cleans various history lists in windows. I'm
> trying to incorporate an option 'clean on shutdown' which will, provided 
> the program is in the system tray, automatically execute a certain 
> fuction on shutdown then the shutdown will continue.

> Can anyone offer any advice on doing this?

> Thanks

> Peter

I suppose you could have the program stay memory resident, then when
it received the message that windows is shutting down it would do the
clean... Seems a bit of an inelegant way to do it though...

Thomas Parslow (PatRat) ICQ #:26359483
Rat Software
http://www.rat-software.com/
Please leave quoted text in place when replying

new topic     » goto parent     » topic index » view message » categorize

3. Re: Run on shutdown

Hi Thomas,

That may be inelegant but it's a good suggestion, how is that done in 
Euphoria though. I've seen programs like Windows Washer which sleep in  the 
system tray until shutdown, at which time it becomes active and cleans the 
files you've selected, then windows continues shutdown.

Thanks

Peter




> > I'm making a program which cleans various history lists in windows. I'm
> > trying to incorporate an option 'clean on shutdown' which will, provided
> > the program is in the system tray, automatically execute a certain
> > fuction on shutdown then the shutdown will continue.Hi T
>
> > Can anyone offer any advice on doing this?
>
> > Thanks
>
> > Peter
>
>I suppose you could have the program stay memory resident, then when
>it received the message that windows is shutting down it would do the
>clean... Seems a bit of an inelegant way to do it though...
>
>Thomas Parslow (PatRat) ICQ #:26359483
>Rat Software
>http://www.rat-software.com/
>Please leave quoted text in place when replying
>
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu