Go Back   Club CDFreaks - Knowledge is Power > International Chat: Software related > Nero SDK Discussion Forum


Commercial message



Nero SDK Discussion Forum Discuss, need urgent help at International Chat: Software related forum; Hi this is brahma, I'm looking for a way to detect if there is any media present in a CD/DVD drive, and what type of media it is (CDAudio, VCD, SVCD, DVD, PhotoCD, Data, Mixed Mode, whatever). here i am using this code for that If DriveType = FILE_DEVICE_CD_ROM


Reply
 
Thread Tools
Old 14-10-2006   #1 (permalink)
New on Forum
 
Join Date: Oct 2006
Posts: 6
need urgent help

Hi this is brahma,

I'm looking for a way to detect if there is any media present in a CD/DVD drive,
and what type of media it is (CDAudio, VCD, SVCD, DVD, PhotoCD, Data, Mixed
Mode, whatever).

here i am using this code for that

If DriveType = FILE_DEVICE_CD_ROM Then
nDrive.BurnIsoAudioCD "Pop Star", isotrack.name, 0, isotrack, Nothing, Nothing, NERO_BURN_FLAG_WRITE, 52, NERO_MEDIA_CDR
ElseIf DriveType = FILE_DEVICE_DVD Then
If (NERO_MEDIA_TYPE.NERO_MEDIA_CD) Then
nDrive.BurnIsoAudioCD "Pop Star", isotrack.name, 0, isotrack, Nothing, Nothing, NERO_BURN_FLAG_WRITE, 52, NERO_MEDIA_CDR 'NERO_MEDIA_CD 'NERO_BURN_FLAG_SIMULATE
ElseIf (NERO_MEDIA_TYPE.NERO_MEDIA_DVD_ANY) Then
nDrive.BurnIsoAudioCD "Pop Star", isotrack.name, 0, isotrack, Nothing, Nothing, NERO_BURN_FLAG_WRITE, 52, NERO_MEDIA_DVD_ANY 'NERO_MEDIA_CD 'NERO_BURN_FLAG_SIMULATE
End If

End If

i hope some one can help

Thanku

Regards

Brahma

Last edited by Hemispasm; 16-10-2006 at 18:41.
brahmahurrey is offline   Reply With Quote
Old 16-10-2006   #2 (permalink)
Moderator
 
Hemispasm's Avatar
 
Join Date: Mar 2002
Location: Goteborg, Sweden
Posts: 4,087
Re: need urgent help

Hi there brahma

There is no need posting the same thread in diffferent forums (crossposting). I have closed the other thread here

http://club.cdfreaks.com/showthread.php?t=195866

I have murged all info in this one and hopefully someone will reply.
__________________
[Airhead]: How the devil?! I got 69! I am a french lesbian!

*Hemi HATES wallpapers AND pickles* ........ never forget that

*There is one thing more evil than pickles, and that is STATISTICS...*
Hemispasm is offline   Reply With Quote
 
Reply


If you can't find where you are looking for, then become a member and get an answer fast! We have thousands of people online every moment of the day to help you! Click here



Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I need urgent help Hussaini Newbie Forum 2 01-12-2004 12:30
Urgent!!!!! jason69uk Digital Video Recorder & Home Entertainment 0 22-11-2004 20:08
Need urgent help!!! Udbye CD and DVD Burners 1 28-06-2004 17:42
Need urgent help!!! Udbye Newbie Forum 1 27-06-2004 09:24
Please Help..This is URGENT fufudu LiteOn / PLDS/ Sony Burner 7 27-12-2002 21:17


All times are GMT +2. The time now is 06:12.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0