PDA

View Full Version : How can i eject cd from cd-rom?


123456789
06-24-2008, 02:02 PM
How can i eject cd from cd-rom?

NOTE:My english is very bad..I want to solve my problem... please

Dermot
06-24-2008, 02:23 PM
A quick search of the help file for "Eject CD" returns this.

Drive.Eject (string Drive )


Description
Ejects a CD or DVD-ROM drive when given a valid drive letter.

Parameters
Drive
(string) The drive to eject. The first character of the string will be the drive letter used. Therefore "E", "E:"," E:\" and "E:\Myfile.txt" are all valid values if you want to eject the E: drive.

Returns
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

123456789
06-24-2008, 02:29 PM
I could not understand help file..Please help me..

EDİT: I tried and could not work..

arb
06-25-2008, 01:12 AM
Try this ;)

123456789
06-25-2008, 06:38 AM
thanks it works :yes

alexmedia
06-27-2008, 05:00 AM
How can i eject open/close cd from cd-rom?

:huh