Click here to Skip to main content
15,889,909 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
I am writing form based application which is displaying list of files in a list box. I want the user to be able export these file to CD on clicking of button.

I just want windows to display default message where user will be informed with popup message in system tray for files waiting to be written to CD as it does normally when we drap drop files on CD drive under XP environment.

How we can do it?

Thanks.
Posted
Comments
Dalek Dave 18-Oct-10 4:00am    
Interesting Question.

 
Share this answer
 
Comments
Dalek Dave 18-Oct-10 4:00am    
Good Links.
Johnny J. 18-Oct-10 4:14am    
Except that this is not what the OP is asking about...
E.F. Nijboer 18-Oct-10 5:18am    
In this case you can probably use SHFileOperation to instruct the shell to copy files to the CD (In the same way this can be used to copy files to zip).
http://codeguru.earthweb.com/cpp/com-tech/shell/article.php/c1319/SHFileOperation-Wrapper-Class.htm
http://www.pinvoke.net/default.aspx/shell32.shfileoperation

To find the drive (need to change this a little because it's now specially for fixed drives):
http://www.artima.com/forums/flat.jsp?forum=76&thread=3997
Thanks Nijboer and Dave,
I think I have to use ICDBurner interface to do my job. I got something over here http://www.vbaccelerator.com/home/VB/Code/Libraries/Writing_CDs/Simple_CD_Burn/article.asp

I am trying to understand it.

Thanks.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900