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

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

VB Code To Disable CD Drive

Reply to Message Icon

Original Message
Name: NarrowPathPilgrim
Date: November 14, 2004 at 13:35:01 Pacific
Subject: VB Code To Disable CD Drive
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


Report Offensive Message For Removal


Response Number 1
Name: StuartS
Date: November 14, 2004 at 16:31:00 Pacific
Reply: (edit)

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


Report Offensive Follow Up For Removal

Response Number 2
Name: jubalsams
Date: November 14, 2004 at 21:55:13 Pacific
Reply: (edit)

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


Report Offensive Follow Up For Removal

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

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


Report Offensive Follow Up For Removal

Response Number 4
Name: saddam (by lurker)
Date: November 16, 2004 at 03:03:27 Pacific
Reply: (edit)

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


Report Offensive Follow Up For Removal







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








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software