>I need to lock or disable the Windows Log Off and ShutDown Menu from my VB6's code for asking users to close my application before they Log Off or Shut Down their PC..(After my application closed normally Windows Log Off and Shut Down Menu will coming back enabled) please inform me how to do that?
Can't you use the Form Unload event?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com