423,116 Members | 1,784 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 423,116 IT Pros & Developers. It's quick & easy.

Burn CD from VB.NET

P: n/a
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
Aug 4 '06 #1
Share this Question
Share on Google+
6 Replies


P: n/a

SStory wrote:
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

Aug 4 '06 #2

P: n/a
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

<za***@construction-imaging.comwrote in message
news:11**********************@i3g2000cwc.googlegro ups.com...
>
SStory wrote:
>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

Aug 4 '06 #3

P: n/a

SStory wrote:
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.

Aug 4 '06 #4

P: n/a
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

<za***@construction-imaging.comwrote in message
news:11**********************@s13g2000cwa.googlegr oups.com...
>
SStory wrote:
>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.

Aug 4 '06 #5

P: n/a

SStory wrote:
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.
>
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

<za***@construction-imaging.comwrote in message
news:11**********************@s13g2000cwa.googlegr oups.com...

SStory wrote:
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.
Aug 4 '06 #6

P: n/a
Thanks again.

<za***@construction-imaging.comwrote in message
news:11**********************@p79g2000cwp.googlegr oups.com...
>
SStory wrote:
>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.
>>
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

<za***@construction-imaging.comwrote in message
news:11**********************@s13g2000cwa.googleg roups.com...
>
SStory wrote:
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.

Aug 4 '06 #7

This discussion thread is closed

Replies have been disabled for this discussion.