Saved Bookmarks
| 1. |
Solve : Disc Drive? |
|
Answer» Is there a code that can open or close a DISC drive? Batch file or other?http://www.dreamincode.net/code/snippet92.htm thats visual BASIC though or you could go to start my computer and right click on your cd drive and click ejectprank? first remote shutdown, now open/close cd drive? not a prank, i just wanted to see if i could make a batch file (to run a program or code) to open and close my drives.I have done this before. Quote from: Carbon Dudeoxide on August 19, 2008, 06:36:48 AM Why.........? im not trying to play a prank on my friends, ive read past posts. im not goina make their drives open, close open, close open, close open, close open, close open, close open, close. if i wanted to do that, i'd dowload a simple program off Cnet. Im just looking for code for myself Quote from: qinghao on August 19, 2008, 06:40:12 AM Quote from: EchoLdrWolf316 on August 19, 2008, 06:35:22 AMhow? batch file, Visual Basic? or a DOS command line? Code: [Select]Option Explicitnot a prank, i just wanted to see if i could make a batch file (to run a program or code) to open and close my drives.I have done this before. Private Declare Function CDdoor Lib "winmm.dll" Alias "mciSendStringA" _ (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, _ ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) Select Case Button Case 1: Call CDdoor("SET CDAudio door open", 0, 0, 0) Case 2: Call CDdoor("set CDAudio door closed", 0, 0, 0) Case 4: End End Select End Sub this VB code I think you know how to use it .so.... Quote from: qinghao on August 19, 2008, 06:53:45 AM Code: [Select]Option Explicituhh? save as what? .................... Try google lol,, okDo you have Nero Burning ROM installed on the machine? Quote from: Dias DE verano on August 19, 2008, 01:18:16 PM Do you have Nero Burning ROM installed on the machine?I have a CD burner Do you, or don't you, have a CD burning package called Nero Burning ROM? |
|