473,394 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Eject the CD/DVD tray

OK, I know you have to be able to do this. I have searched VB help,
this newsgroup, and google in general and I can't find any sample code
or instructions on how to eject the cd/dvd device tray from VB code.
Someone PLEASE help!!!
Feb 20 '06 #1
3 2565
Joe Cool wrote:
OK, I know you have to be able to do this. I have searched VB help,
this newsgroup, and google in general and I can't find any sample code
or instructions on how to eject the cd/dvd device tray from VB code.
Someone PLEASE help!!!


http://www.codeproject.com/cs/media/CDPlayer.asp

Chris
Feb 20 '06 #2
"Joe Cool" <jo*****@home.net> schrieb:
OK, I know you have to be able to do this. I have searched VB help,
this newsgroup, and google in general and I can't find any sample code
or instructions on how to eject the cd/dvd device tray from VB code.


Opening and closing the CD-ROM drive
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=setcddoorstatus&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Feb 20 '06 #3
On Mon, 20 Feb 2006 10:48:07 +0100, "Herfried K. Wagner [MVP]"
<hi***************@gmx.at> wrote:
"Joe Cool" <jo*****@home.net> schrieb:
OK, I know you have to be able to do this. I have searched VB help,
this newsgroup, and google in general and I can't find any sample code
or instructions on how to eject the cd/dvd device tray from VB code.


Opening and closing the CD-ROM drive
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=setcddoorstatus&lang=en>


Worked perfectly. Thanks.
Feb 27 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Allen St.Clair | last post by:
How can I eject a CD tray (Drive Letter is known)? Thx~
1
by: Prakru | last post by:
Hello guys, I get compilation error for the following code in MS VC++ 6 compiler: I thought that if the Eject is called with no args, then the Player::Eject () should be called. But it...
1
by: Hai Ly Hoang [MT00KSTN] | last post by:
In my application, i want to flush all data to USB and eject it (like select Safe Remove from tray icon). Is it possible ? How to to that ? Thanks a lot
0
by: MT00KSTN - Hai Ly Hoang | last post by:
In my application, I want to command to eject the USB drive (flash disk) (like select Safe Remove from the tray icon). How to do that ? Thank in advance
4
by: Maheshkumar.R | last post by:
Hi all, I want to access, detect, eject(open and close) CD Rom using C#. How i can do this..? -- Mähésh Kumär. R cyberiafreak
0
by: David Penne | last post by:
I have SBS 2003 and am using the built in tape backup. My question is about the registry key "Eject Tape Flag". I understand that this is an undocumented key and the only articles I can find...
8
by: Avi G | last post by:
Hi, i've created an application and i want it to be minimized to the sys tray, how i do it? if you can direct me step by step even with create a small application and put it in the sys tray ...
3
by: Patrick Dugan | last post by:
I am using VS2005 (vb) and I have a program that starts when Windows boots up. Occasionally the icon that should appear in the system tray does not show up. The program is still running in memory...
4
by: John Devlon | last post by:
Hi Does anyone know how to eject a cd/dvd on a drive? Thanx John
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.