Burn CD from VB.NET

S

SStory

I need to be able to burn a CD from VB.NET. The OS is XP so I don't care
how it does it, but not having to go through the wizard of course--and free.

I have searched and found XPBurn, but couldn't see a way to place a volume
label on the CD.

Here's exactly what I want to do:

1.) Run a program that generates a GUID product ID for the CD (I have this
part)
2.) Set the label of the new CD
3.) Burn the application files and the ID to the CD

If there is a way I can monitor when the CD drive is open or closed, etc.
That would be nice. I need to burn 100 CD's like this and just being a
matter of opening the CD, sticking in a CD-R or RW and closing it--then the
software (which would already be running with a preset (#to burn) would
start burning again with no other user interaction.

Thanks,

Shane
 
Z

zacks

SStory said:
I need to be able to burn a CD from VB.NET. The OS is XP so I don't care
how it does it, but not having to go through the wizard of course--and free.

I have searched and found XPBurn, but couldn't see a way to place a volume
label on the CD.

Here's exactly what I want to do:

1.) Run a program that generates a GUID product ID for the CD (I have this
part)
2.) Set the label of the new CD
3.) Burn the application files and the ID to the CD

If there is a way I can monitor when the CD drive is open or closed, etc.
That would be nice. I need to burn 100 CD's like this and just being a
matter of opening the CD, sticking in a CD-R or RW and closing it--then the
software (which would already be running with a preset (#to burn) would
start burning again with no other user interaction.

I use CopyToCD to do this with VB. It isn't free, but it is cheap, and
you can download a trial version.

www.copytocd.com
 
S

SStory

Do you have the SDK? If so can you do each of the things I mentioned with
it?
I have a normal CD burner program that will make copy after copy. I was
wanting to better automate the process and I burn a unique ID on each CD.

Thanks,

Shane
 
Z

zacks

SStory said:
Do you have the SDK? If so can you do each of the things I mentioned with
it?
I have a normal CD burner program that will make copy after copy. I was
wanting to better automate the process and I burn a unique ID on each CD.

According to their documentation, you have to convince them that you
will be selling a product that includes their SDK code and guarentee a
minimum number of sales before they will send you a copy of the SDK.
Since I am using for my own personal use, I took their command line
version and wrote my own SDK.

You can do exactly what you ask using VB and their command line
version. The only thing you cannot do is detect if the CD tray is in or
out, but you can control CopyToCD to tell to either eject the tray
after burning or not eject the tray.
 
S

SStory

Thanks for the input!

But, can you set the volume label?

I have already found software XPBURN that will let me do a simple add files
and burn, but I want to put a label on it.

Thanks,

Shane
 
Z

zacks

SStory said:
Thanks for the input!

But, can you set the volume label?

Yes, the command line version of CopyToCD has a command switch to
specify the volume label. I use it all the time.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top