Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
VB Code To Disable CD Drive
Name: NarrowPathPilgrim Date: November 14, 2004 at 13:35:01 Pacific OS: XP Home CPU/Ram: 2.53 GH'z 512 MB
Comment:
Hello, I am new to VB and was wondering if anyone here knew some code to disable the eject button on the CD drive? Zach Doty
Name: StuartS Date: November 14, 2004 at 16:31:00 Pacific
Reply:
You cant. There is not software in the computer that has control over the eject button.
You can operate the eject button on a CD driver simply by plugging in the power cord. Even then you can operate the eject mechanism without power.
If you look just below the tray on a CD drive you will see a small pin hole. Push something long and thing through this hole and it will operate the eject mechanism even with no power applied.
Stuart
0
Response Number 2
Name: jubalsams Date: November 14, 2004 at 21:55:13 Pacific
Reply:
Don't know about VB code for locking the drive door but there IS a hardware code. I just locked mine w program called LOCK.exe (hope it unlocks at reboot!). Course it is 9x OS, on NT class the code will probably never get to the drive ports. Wanna try it ? 2 KB 1990 DOS 5 or 6, you will have to disassemble it to find out the code.
I know that it is possible because I have used several CD/DVD burning/ripping programs that lock the drive from being opened, but I don't have a clue how they do it. Any more help is greatly appreciated!
Zach Doty
0
Response Number 4
Name: saddam (by lurker) Date: November 16, 2004 at 03:03:27 Pacific
Reply:
My God, that's way beyond the scope of anyone here. Yes, its possible. You would probably have to understand the architechture of CD-R drives to do that.
Summary: I am selling a few drawings on EBAY and wanted to disable the right click option so that people can't copy my drawing. I have tried some code found by a google seach but that didn't work. If you have ...
Summary: Hi There, I want anyone of you to give me the (VB)codes to make an exe file named project1.exe to enter an entry of itself in "Autoexec.bat" to load at startup.so that, this exe file will load when w...