Click here to Skip to main content
15,913,339 members
Home / Discussions / C#
   

C#

 
AnswerRe: Preventing the user from Ejecting the CD during crucial Process. Pin
DaveyM6927-Aug-09 7:51
professionalDaveyM6927-Aug-09 7:51 
AnswerRe: Preventing the user from Ejecting the CD during crucial Process. Pin
PIEBALDconsult27-Aug-09 7:56
mvePIEBALDconsult27-Aug-09 7:56 
GeneralRe: Preventing the user from Ejecting the CD during crucial Process. Pin
Dan Neely27-Aug-09 8:25
Dan Neely27-Aug-09 8:25 
GeneralRe: Preventing the user from Ejecting the CD during crucial Process. Pin
PIEBALDconsult27-Aug-09 8:34
mvePIEBALDconsult27-Aug-09 8:34 
GeneralRe: Preventing the user from Ejecting the CD during crucial Process. Pin
Dan Neely27-Aug-09 8:51
Dan Neely27-Aug-09 8:51 
GeneralRe: Preventing the user from Ejecting the CD during crucial Process. Pin
PIEBALDconsult27-Aug-09 9:12
mvePIEBALDconsult27-Aug-09 9:12 
GeneralRe: Preventing the user from Ejecting the CD during crucial Process. Pin
Dan Neely27-Aug-09 9:35
Dan Neely27-Aug-09 9:35 
GeneralRe: Preventing the user from Ejecting the CD during crucial Process. Pin
tyranin27-Aug-09 22:28
tyranin27-Aug-09 22:28 
Hi everyone, I really wasn't expecting such a big response. Thank you everyone for your replies.

It is true that all effort are futile due to the tiny weeny hole because the hole is an emergency overwrite incase a program locks the drive and shutdowns with releasing it or something, but PIEBALDconsult is correct in their assumsion that I wish to prevent the eject button from being accidently pressed (trust me it happens alot on laptops), or being ejected from explorer or even being eject by someone elses program.

DaveyM69, I found your link to the VB code excellent. I never stumbled across that page during my search. And I agree with you on hand-fed code, but wow that's some great work dude, I'll have to implement it now, so that your efforts aren't in vain. Many thanks. I hope that search engines point here after this because those are some really good answers.
AnswerRe: Preventing the user from Ejecting the CD during crucial Process. Pin
DaveyM6927-Aug-09 8:58
professionalDaveyM6927-Aug-09 8:58 
GeneralRe: Preventing the user from Ejecting the CD during crucial Process. Pin
Luc Pattyn27-Aug-09 9:15
sitebuilderLuc Pattyn27-Aug-09 9:15 
GeneralRe: Preventing the user from Ejecting the CD during crucial Process. Pin
DaveyM6927-Aug-09 9:21
professionalDaveyM6927-Aug-09 9:21 
GeneralRe: Preventing the user from Ejecting the CD during crucial Process. Pin
DaveyM6927-Aug-09 9:31
professionalDaveyM6927-Aug-09 9:31 
GeneralRe: Preventing the user from Ejecting the CD during crucial Process.[modified] Pin
Luc Pattyn27-Aug-09 9:33
sitebuilderLuc Pattyn27-Aug-09 9:33 
GeneralRe: Preventing the user from Ejecting the CD during crucial Process [modified] Pin
DaveyM6927-Aug-09 10:10
professionalDaveyM6927-Aug-09 10:10 
GeneralRe: Preventing the user from Ejecting the CD during crucial Process Pin
Luc Pattyn27-Aug-09 10:27
sitebuilderLuc Pattyn27-Aug-09 10:27 
GeneralRe: Preventing the user from Ejecting the CD during crucial Process Pin
harold aptroot27-Aug-09 11:08
harold aptroot27-Aug-09 11:08 
GeneralRe: Preventing the user from Ejecting the CD during crucial Process Pin
DaveyM6927-Aug-09 11:42
professionalDaveyM6927-Aug-09 11:42 
GeneralRe: Preventing the user from Ejecting the CD during crucial Process Pin
harold aptroot27-Aug-09 11:51
harold aptroot27-Aug-09 11:51 
GeneralRe: Preventing the user from Ejecting the CD during crucial Process. Pin
tyranin28-Aug-09 0:04
tyranin28-Aug-09 0:04 
QuestionSimple progress bar code not working correctly. Pin
Wheels01227-Aug-09 4:51
Wheels01227-Aug-09 4:51 
AnswerRe: Simple progress bar code not working correctly. Pin
DoctorMick27-Aug-09 5:11
DoctorMick27-Aug-09 5:11 
GeneralRe: Simple progress bar code not working correctly. Pin
Wheels01227-Aug-09 5:14
Wheels01227-Aug-09 5:14 
QuestionC# Winapp Window focus Pin
Wheels01227-Aug-09 4:46
Wheels01227-Aug-09 4:46 
AnswerRe: C# Winapp Window focus Pin
stancrm27-Aug-09 6:10
stancrm27-Aug-09 6:10 
GeneralRe: C# Winapp Window focus Pin
Wheels01227-Aug-09 6:12
Wheels01227-Aug-09 6:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.