|
-
January 22nd, 2005, 11:31 PM
#1
shutdown the machine
Heres a question for ya...
Could someone help me out with a way to initiate a shutdown and logoff via VB.NET?
I had an idea for an app (for my semester project in VB programming) for a sort of control center. It would be something that would run in the background, and when you got ready to quit, you would open it, and that would initiate either a shutdown or log the user out, depending on what the user selects...
Of course this is not all it would do, I want to get it to the point where perhaps it can be used to open a users favorite apps, keep track of documents, etc. It would basically be taking the favorites, shutdown/logoff, Programs, and My Documents features and putting them all in one application, kinda like a dashboard or control center. May be useful one day on an office network or something... but for now, its an idea I have been tossing around for my final project that will come due in a few months.
So, any ideas on how to issue system shutdown and logoff commands via VB.NET?
I can find ways of doing it on a Unix/Linux system, but I have no idea how such things are handled in Windows.
Cheers,
Jeff
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|