Learn how to a build a cloud-first strategyRegister Now


How to check whether CD inesrted into CDDrive or not and how to check the CD free space and used space in VB6

Posted on 2011-05-11
Medium Priority
Last Modified: 2012-05-11
Hi friends,

I am trying to Write the CD from my VB6 application and succeeded using IMAPI.
But before writing the content into CD I need to check whether CD inserted or not and CD has enough disk space or not .
Can any one please help me in this task.

Thanks in advance  
Question by:sandeepsangshetty
LVL 16

Expert Comment

by:Kalpesh Chhatrala
ID: 35744078
Check Below link there is sample for CD inside CDROM


Author Comment

ID: 35744344
Hi Kalpesh,
Thanks for ur reply
I have gone through the link and tried it in my application but that is detecting only Drive.
But I need to check whether CD is there or not.

Accepted Solution

smartchaps earned 2000 total points
ID: 35744857
Check below link, it solves your problem:


LVL 101

Expert Comment

ID: 36275237
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question