Re: logoff/shutdown script
- From: camille.reeves@xxxxxxxxx
- Date: Fri, 15 Jun 2007 07:11:27 -0700
Thank you so much Omar. I really appreciate this. I barely know
anything at all about VB so this really helps me out a lot and puts me
in a good place.
I have another question for anyone out there who knows the answer. I
emailed a friend of a friend with the same plea for script help and
she told me that I would have to incorporate API calls to the Windows
logoff/shutdown function in order for my script to work. I found two
websites that list the calls. <http://jalaj.net/2007/01/25/system-
shutdown-windows-api-functions/> is more thorough but <http://
explorewindows.com/Blogs/?p=91> is more succcint. Would I have to
write my code somewhat like this:
if process.name = "vmware-vmx.exe" then
alert user
cancel shutdown (insert API calls here)
end if
.
- References:
- logoff/shutdown script
- From: camille . reeves
- Re: logoff/shutdown script
- From: Omar Abid
- logoff/shutdown script
- Prev by Date: Re: Full name of remote logged on user
- Next by Date: Re: Need a vb-script to read user + data (phone-number etc.) from active directory
- Previous by thread: Re: logoff/shutdown script
- Next by thread: How to change environment variables in text/.reg file before import
- Index(es):