|
LAPEC wrote: I thought that the Code Project Forum is there for people to help who dont have much knowledge on programming...
It's a forum, people meet. Sometimes they help each other, but being a member is no replacement for an education.
I are Troll
|
|
|
|
|
pls i want to disabled permanently my my cd/dvd eject buton.
thanks.
|
|
|
|
|
Enobong Adahada wrote: pls i want to disabled permanently my my cd/dvd eject buton.
Similar to this[^]?
That way you'd have an unusable drive that consumes power. How about disabling the entire drive?
I are Troll
|
|
|
|
|
I want to use code to open and close it, i don't want users to open it using the eject button.
|
|
|
|
|
And if your application hangs, user will have to restart the computer to open cd/dvd drive?
Don't forget to rate answer, that helped you. It will allow other people find their answers faster.
|
|
|
|
|
Or push a paper clip into the tiny hole!
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC League Table Link
CCC Link[ ^]
|
|
|
|
|
The users do not need to use the cd/dvd drives during a certain period in my office,
I want a code to disabled the Eject button to keep them out, at this this time.
is there a such a code in c#, i found some in vb.
Thank for you response.
|
|
|
|
|
Users either have access, or they don't. You're looking for a "Child Safety Lock" for your employees?
I are Troll
|
|
|
|
|
|
CD/DVD-Rom lockout? Why? What would prevent them from using a USB flash drive (or some other USB device) and using external files anyway? (I assume that is what you are trying to prevent.)
|
|
|
|
|
If you have the VB code, it should be fairly easy to translate...
...by someone who knows both VB and C#...
...me, not being one of those people.
|
|
|
|
|
Not a code example, but you can disable CDROM/Remoable Driver/etc. in Windows' Group Policy (at least in Windows 7)
|
|
|
|
|
Superglue.
Use a screwdriver to remove it.
Disconnect the wires.
As you see, lots of options available
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC League Table Link
CCC Link[ ^]
|
|
|
|
|
Thanks for the advice, but NO.
|
|
|
|
|
It's ok, I was only joking anyway!
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC League Table Link
CCC Link[ ^]
|
|
|
|
|
This One[^]
does not do exactly what you want, but hope will be much helpful in the way.
|
|
|
|
|
What about ejecting from Explorer?
|
|
|
|
|
This tip[^] I posted sometime ago disables it, but not permanently.
You could make the app run at start up (perhaps a service) so it is effectively permanently disabled.
|
|
|
|
|
I have small number of GUI attribute that i need to save in my application.
The attribute are simple ( windows size, window color, ext... ) and they need to be store in file ( can be XML or binary ).
I don't sure i know what is the fest and best way to write the code ?
Is it simple XML or serialization ?
Is there some example ?
Thanks.
|
|
|
|
|
|
|
Dagnabit, I almost have that article ready...
|
|
|
|
|
My C# program was developed by the Visual Studio 2005, and i have set the prerequisites to .NET framework 2.0, and i have tested to install it on a Clean windows 7 it has included .NET framework 3.5, and it seems my program is working, but how could i force it to use .NET framework 2.0?
And also, there is .NET framework 2.0 SP3, how could i include it and force the client to install it manually?
Thanks
|
|
|
|
|
Hi,
.NET 3.0 and .NET 3.5 consist of .NET 2.0 plus functional extensions, however they don't replace what was in .NET 2.0, they just add to it; therefore an app built against .NET 2.0 will normally run just fine on .NET 3.0/3.5
.NET 4.0 is different, it is independent of .NET 2.0, and offers a totally new set of libraries.
linuxfedora wrote: force the client to install it manually?
you shouldn't force a client to do anything.
what is your real concern about all this?
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
If it is the case, then it is okey. Thanks
|
|
|
|