R
Reuben Gann via DotNetMonster.com
Hi,
I'm trying to use the XPBurn component available on MSDN. I have an ArrayList of mp3 objects which have valid paths and I add files like so:
XPBurn.XPBurnCD cd=new XPBurn.XPBurnCD();
foreach(Object obj in mp3list)
{
MP3File mp3;
mp3=(MP3File)obj; cd.AddFile(mp3.GiveNameOnDisk(),mp3.GiveNameOnCD());
}
try
{
cd.RecordDisc(false,true);
}
catch(Exception ex)
{
MessageBox.Show(ex.Message);
}
This code executes (without giving any exceptions), but nothing happens. The cd is never written, the drive never spins up, nothing. The event manager reports that an IMAPI CD Burning COM service was successfully sent a start control, then a running state, then a stop state. I've tested this on two XP Pro systems, one SP1 and one SP2. Both have Nero isntalled, if that matters. Anybody know what's up?
Thanks
I'm trying to use the XPBurn component available on MSDN. I have an ArrayList of mp3 objects which have valid paths and I add files like so:
XPBurn.XPBurnCD cd=new XPBurn.XPBurnCD();
foreach(Object obj in mp3list)
{
MP3File mp3;
mp3=(MP3File)obj; cd.AddFile(mp3.GiveNameOnDisk(),mp3.GiveNameOnCD());
}
try
{
cd.RecordDisc(false,true);
}
catch(Exception ex)
{
MessageBox.Show(ex.Message);
}
This code executes (without giving any exceptions), but nothing happens. The cd is never written, the drive never spins up, nothing. The event manager reports that an IMAPI CD Burning COM service was successfully sent a start control, then a running state, then a stop state. I've tested this on two XP Pro systems, one SP1 and one SP2. Both have Nero isntalled, if that matters. Anybody know what's up?
Thanks