IMAPI: adding files to the image
Hi, everyone:
I'm trying to make a dvd-burner application with IMAPI and VB6. I can burn the image correctly.
The problem is that I can only add folders to the image with the "addTree" method. I can't make the "addFile" method work.
Anyone knows how can I do it? I want to add files instead of folders to burn files that are located in different places in my hard disk.
Thanks in advance for you answers.
Re: IMAPI: adding files to the image
Re: IMAPI: adding files to the image
Thanks for your answers, LaVolpe, but I visited that links already. Man, I think I have seen all I can see about IMAPI in vb6 there in internet! :)
But I still need to know how to add files (not folders) to the disk image to be recorded in the DVD. I don't know even if it is possible with vb6 and IMAPI.
I'll wait for more responses and I'll thank it in advance.
Re: IMAPI: adding files to the image
Actually at vbacellerator there is more than one way to burn cd/dvd and what LaVolpe pointed you to was the VB.NET article but in this http://www.google.com/custom?q=vb6+b...ccelerator.com the third and fourth article are vb6 and imapi...
Good Luck
Re: IMAPI: adding files to the image
Thanks forma your answers. Bit that doesn 't solve my problem. I'll explain a bit more.
The way to add content to the image is the FsiDirectoryItem. This item has the method addTree to add directories to the image. But I need to add single files located in differents places of my harddisk. I suppous it can be done with the addFile method. But I can't make it work. I need to load the file I want to add into a FsiStream object, and I don't know how to do that.
Thanks again in advance for your answers.