I don't know if what you wish to do is exactly possible, but you could write
a service which waits for WM_POWERBROADCAST.
--
John Phillips
MVP - Windows SDK
"Faiz" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> We are working in VB6 with Windows 2000. We wish to launch an
> application when a PC comes out of the hibernate state, something
> equivalent to Run and RunOnce type of registry keys that gets
> triggered when Windows is restarted.
>
> Is there a way through which we can launch our application when system
> comes out of the hibernate state, either through registry or by some
> other means.
>
> Thanks & Regards
>
> Faiz
|