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

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  
Who is Participating?
smartchapsConnect With a Mentor Commented:
Check below link, it solves your problem:

Kalpesh ChhatralaSoftware ConsultantCommented:
Check Below link there is sample for CD inside CDROM
sandeepsangshettyAuthor Commented:
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.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.