XPBurn RecordDisc function does nothing

  • Thread starter Thread starter Reuben Gann via DotNetMonster.com
  • Start date Start date
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
 
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

late reply, but I just spent a few days figuring out the XPBurn component
and the imapi wrapper from vbaccelerator.com. I was using vb.
I think it is just missing the stage to set the burner drive. My projects
are complete, see the source at planetsourcecode.com search for XPBurn and
vb cd burner. short link: http://tinyurl.com/6j9te
 
Back
Top