Quote:
>Is there a simple way to prevent the windows95 screen saver from starting
>for a period of time in my vb4 application? Perhaps its possible to send
>a key stroke so the screen saver "thinks" a key has been hit? As I am
>new to programing - any help would be appreciated. Thanks in advance.
Have a control in your VB 4 application, and periodically set the focus to
it, and use SendKeys. In context to screensavers you could also see if you
could generate an artificial MouseMove by resizing the form by a small amount.
I once wrote a screensaver, and the hardest bit was finding all the stray
events that could fire that would switch off the screensaver, and for which
the screensaver had to be desensitivised. I managed to make it so that it
only went off once every few hours... (I was doing quite a lot of screen
activity, including the use of SendKeys to scroll some text.)
Shiva
--
"Information is Knowledge, Knowledge is Power, Power is Dangerous"
"Information Overload... I've a thousand pages on it..."
"Play with fire - burn your fingers"