Computer Science Canada A few simple questions |
Author: | Acid [ Wed Jun 02, 2004 2:34 pm ] |
Post subject: | A few simple questions |
These may not seem hard, but I've had nobody to teach me and nobody else to ask. Is it possible to make my program shut down the computer, and how? How can I make the program open the CD-ROM drive of my computer? |
Author: | Paul [ Wed Jun 02, 2004 4:54 pm ] |
Post subject: | |
I don't know anything about VB, but this might help u http://www.vb-helper.com/howto_shutdown_exitwindowsex.html for shutdown and for opening CD rom drive http://www.freevbcode.com/ShowCode.asp?ID=68 |
Author: | Brightguy [ Wed Jun 02, 2004 5:18 pm ] | ||
Post subject: | Re: A few simple questions | ||
Yep, after a quick search for API fucntions, I came up with: ExitWindowsEx mciSendString
|
Author: | Acid [ Thu Jun 03, 2004 9:49 am ] |
Post subject: | |
Thanks a bunch. |