I want to run some procedure (say print my name in a message Box) whenever I logout or shutdown my computer.(ie . I want to hook the windows service and run my routine and then run the windows service).
I dont know if I use proper term (Hooking).But I think U understand my question.
Please answer to my question.
The InitiateSystemShutdown function initiates a shutdown and optional restart of the specified computer.
To record a reason for the shutdown in the event log, call the InitiateSystemShutdownEx function.
This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery. …
In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button. This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon.
The tool is part of…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel.
Part 1 of this series discussed basic error handling code using VBA.