| |||||||
| Commercial message | |
| | |
|
![]() |
| | Thread Tools |
| | #1 (permalink) |
| New on Forum Join Date: Jul 2005
Posts: 5
| VB Examples I am trying to write an application to write single files to a DVD using the Nero 1.1 Type Library. I have searched the documentation on the SDK, searched the forum, and searched the Internet, but I cannot see how to do the following: Import the session from a DVD. Write more files to the DVD. The closest I have come to getting something working is with the following code: Dim dvdFS As NeroFileSystemDescContainer Dim isReady As Boolean Set dvdFS = New NeroFileSystemDescContainer dvdFS.BurnOptions = NERO_BURN_OPTION_USE_JOLIET dvdFS.Name2 = "Test" Dim RootCont As NeroDirectoryContainer Set RootCont = dvdFS.RootDirectoryContainer RootCont.AddFile2 "test.txt", "C:\Test.txt", -1, -1 isReady = Drive.DeviceReady If isReady Then Drive.BurnFileSystemContent dvdFS, NERO_BURN_FLAG_VERIFY Or NERO_BURN_FLAG_WRITE, 2, NERO_MEDIA_DVD_M_R End If This does write, but the disk is unreadable afterwards. Can anyone give me some sample code on this? Thanks Robert |
| | |
| | #3 (permalink) |
| New on Forum Join Date: Jul 2005
Posts: 5
| Re: VB Examples Thanks for this. I have used some of this code, and it seems to work up to a point. When the following line is called the application crashes with no error: Drive.BurnIsoAudioCD "Test", "Files", 0, ISOTrack, Nothing, Nothing, NERO_BURN_FLAG_WRITE + NERO_BURN_FLAG_CLOSE_SESSION, 0, NERO_MEDIA_CDR + NERO_MEDIA_CDRW + NERO_MEDIA_DVD_M_R + NERO_MEDIA_DVD_M_RW + NERO_MEDIA_DVD_P_R + NERO_MEDIA_DVD_P_RW It imports the files already on the CD okay, and does everything okay up to this point. How come is it calling BurnIsoAudioCD? I would have thought that you should use BurnFileSystemContent. Any ideas why it crashes? |
| | |
| |
| |
![]() |
| If you can't find where you are looking for, then become a member and get an answer fast! We have thousands of people online every moment of the day to help you! Click here |
| Bookmarks |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| TDK 003 aging examples (pi/pif)? | maicod | Blank Media | 36 | 24-07-2008 00:59 |
| Anyone have examples of what their printable discs look like? | mayto | CD & DVD Printing and Labeling | 3 | 12-12-2006 02:46 |
| DelphiNeroApi examples | The Mask | Nero SDK Discussion Forum | 0 | 19-08-2004 22:13 |
| Need a VB sample | MasterOfDisaster | Nero SDK Discussion Forum | 3 | 05-07-2004 00:33 |
| examples of condensation ineveryday life | el_walto | CD Freaks Living Room | 10 | 09-01-2003 20:23 |