Computing.Net > Forums > Programming > VB Code To Disable CD Drive

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

Reply to Message Icon

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



Sponsored Link
Ads by Google

Response Number 1
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.

Best


0

Response Number 3
Name: NarrowPathPilgrim
Date: November 15, 2004 at 18:26:40 Pacific
Reply:

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.

saddam


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: VB Code To Disable CD Drive

Code to disable right click on EBAY www.computing.net/answers/programming/code-to-disable-right-click-on-ebay/6638.html

Code vb exe to start at startup. www.computing.net/answers/programming/code-vb-exe-to-start-at-startup/16207.html

VB code help www.computing.net/answers/programming/vb-code-help/12893.html