Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

write pdf file to a cd burner

Status
Not open for further replies.

drey8

Programmer
Aug 31, 2004
17
US
I am having problems writing a file to a cd. I am using c# and i have windows XP. does any one have a code sample.
thank you
andreia
 
Well, you can get started by copying the file you want to:

"%HOMEPATH%\Local Settings\Application Data\Microsoft\CD Burning"

That makes the file "Ready to Be Written to CD". Then you could launch explorer to their CDRW drive and let Windows take over from there, letting them click "Write these files to CD" and letting Windows deal with issues such as if the disk is in the drive, etc.

I have looked in the past to find a way to automate the actual burning and was discouraged. I ended up using a 3rd party tool. Perhaps someone else has had a better experience and can post though.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top