Home All Groups Group Topic Archive Search About

Getting a non-activity trigger from XP

Author
13 Jul 2006 1:00 PM
Jerry Spence1
I have a VB program that I want to make come alive when there is a period of
inactivity on the PC - like a screen saver. How can I get the trigger from
the operating system (XP) to start the program?

-Jerry

Author
13 Jul 2006 11:04 PM
Herfried K. Wagner [MVP]
"Jerry Spence1" <jerry.spe***@somewhere.com> schrieb:
>I have a VB program that I want to make come alive when there is a period
>of inactivity on the PC - like a screen saver. How can I get the trigger
>from the operating system (XP) to start the program?

<URL:http://dotnet.mvps.org/dotnet/code/misc/#UserIdle>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
15 Jul 2006 1:44 PM
Jerry Spence1
Thanks very much.  GetLastInputInfo was the answer as on the link you gave.

Cheers!

-Jerry

Show quoteHide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:OiWIFDtpGHA.3564@TK2MSFTNGP03.phx.gbl...
> "Jerry Spence1" <jerry.spe***@somewhere.com> schrieb:
>>I have a VB program that I want to make come alive when there is a period
>>of inactivity on the PC - like a screen saver. How can I get the trigger
>>from the operating system (XP) to start the program?
>
> <URL:http://dotnet.mvps.org/dotnet/code/misc/#UserIdle>
>
> --
> M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
> V B   <URL:http://classicvb.org/petition/>