Hi! I would like to ask is it possible to create something that would work with my VB6 that will 'inform' my VB6 app when Windows XP Shutdown or Reboot? It need to capture the exact event(0 = Shutdown, 1 = Reboot) and inform my VB6 app.
I have ask around and people says its possible using Madcodehook, but i got idea of howto - as im only a VB6 newbies
cheers,
Is this possible with Madcodehook?
you have to create an global hook of
ExitWindowsEx -> look @ MSDN
this is the fucntion windows uses to shut down
for expample the explorer.exe calls this if u click on
"start" -> "shutdown" or what its called on english version of win
but i dont know if u are able to hook the call of windows shutdown in the taskmanger +ALT+STRG+DEL -> shutdown
ExitWindowsEx -> look @ MSDN
this is the fucntion windows uses to shut down
for expample the explorer.exe calls this if u click on
"start" -> "shutdown" or what its called on english version of win
but i dont know if u are able to hook the call of windows shutdown in the taskmanger +ALT+STRG+DEL -> shutdown
Hi! Thanks for replying, but I would like to(if possible) find some expert here that could guide me into some example of how to go about it.
I have do some research and found this might be the closest to what I am looking for, but its in Delphi -
http://www.experts-exchange.com/Program ... 28549.html
Could someone help me to find something in VB6?
cheers,
I have do some research and found this might be the closest to what I am looking for, but its in Delphi -
http://www.experts-exchange.com/Program ... 28549.html
Could someone help me to find something in VB6?
cheers,