|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
VB6 Simple CD BurnerHi
This works and will do what I want, can anybody tell me how to incorporate it into my program. I downloaded the program from Google On Fri, 16 Feb 2007 03:22:03 -0800, Ron <R**@discussions.microsoft.com> wrote:
¤ Hi ¤ This works and will do what I want, can anybody tell me how to incorporate ¤ it into my program. ¤ I downloaded the program from Google Did you download the source code? http://www.vbaccelerator.com/home/vb/code/Libraries/Writing_CDs/Simple_CD_Burn/VB6_Simple_CD_Burner.asp Paul ~~~~ Microsoft MVP (Visual Basic) Hi Paul
Yes, I have run this code from VB6 and it works, CD Burner has its own form but as the file I want to burn will always be the same one, I would like to code in the File name and then run the burn. Possible ? Show quoteHide quote "Paul Clement" wrote: > On Fri, 16 Feb 2007 03:22:03 -0800, Ron <R**@discussions.microsoft.com> wrote: > > ¤ Hi > ¤ This works and will do what I want, can anybody tell me how to incorporate > ¤ it into my program. > ¤ I downloaded the program from Google > > Did you download the source code? > > http://www.vbaccelerator.com/home/vb/code/Libraries/Writing_CDs/Simple_CD_Burn/VB6_Simple_CD_Burner.asp > > > Paul > ~~~~ > Microsoft MVP (Visual Basic) > On Fri, 16 Feb 2007 21:52:05 -0800, Ron <R**@discussions.microsoft.com> wrote:
¤ Hi Paul ¤ Yes, I have run this code from VB6 and it works, CD Burner has its own form ¤ but as the file I want to burn will always be the same one, I would like to ¤ code in the File name and then run the burn. Possible ? ¤ What the code is doing is moving the selected files to the staging area that is used by the built-in Windows XP recording mechanism. Essentially you would need to copy your file to this location each time it is to be burned to a CD. There is code in the sample that returns the path for the current user profile. No hard coding of a file path is required or necessary. The following should help explain how the built-in Windows XP mechanism operates: Description of CD-R and CD-RW recording in Windows XP http://support.microsoft.com/kb/279157 Paul ~~~~ Microsoft MVP (Visual Basic) Hi Paul
I have read the support KB 279157 and is has made thinks clearer, but I am still stuck can you help further please? I can load all the code into my program except the following:- I think a Module called Related Documents :- (SimpleCDBurn6.exe.Manifest) and again as will not work in my program I suspect there is code contained within to make the rest of the program run. I have tried to copy this into my program but todate no luck. Show quoteHide quote "Paul Clement" wrote: > On Fri, 16 Feb 2007 21:52:05 -0800, Ron <R**@discussions.microsoft.com> wrote: > > ¤ Hi Paul > ¤ Yes, I have run this code from VB6 and it works, CD Burner has its own form > ¤ but as the file I want to burn will always be the same one, I would like to > ¤ code in the File name and then run the burn. Possible ? > ¤ > > What the code is doing is moving the selected files to the staging area that is used by the built-in > Windows XP recording mechanism. Essentially you would need to copy your file to this location each > time it is to be burned to a CD. There is code in the sample that returns the path for the current > user profile. No hard coding of a file path is required or necessary. > > The following should help explain how the built-in Windows XP mechanism operates: > > Description of CD-R and CD-RW recording in Windows XP > http://support.microsoft.com/kb/279157 > > > Paul > ~~~~ > Microsoft MVP (Visual Basic) > On Thu, 22 Feb 2007 09:50:26 -0800, Ron <R**@discussions.microsoft.com> wrote:
¤ Hi Paul ¤ I have read the support KB 279157 and is has made thinks clearer, but I am ¤ still stuck can you help further please? ¤ I can load all the code into my program except the following:- ¤ I think a Module called Related Documents :- (SimpleCDBurn6.exe.Manifest) ¤ and again as will not work in my program I suspect there is code contained ¤ within to make the rest of the program run. I have tried to copy this into my ¤ program but todate no luck. ¤ I suspect the manifest file is being used for registration free COM. The manifest file is actually an XML file and not a binary. It should have the same name as your EXE, but I don't think you need to change the contents. Just make certain to add the same references (Project...References) and components (Project...Components) in the SimpleCDBurn project to your own project. If you're getting any errors or are still having some problems you may want to be a bit more specific (e.g. error messages, etc.). Paul ~~~~ Microsoft MVP (Visual Basic) |
|||||||||||||||||||||||