Vb data track

vbimport

#1

hmm am i just being thick? how do i write data cds?

theres no Drive.BurnDataISO - or is it called something else?

any help much appreciated

thanks
stephen


#2

lol yeah was me just being thick!!!

sorry!


#3

I am having the hardest time trying to write a folder and then a file inside that folder. I get the folder written then when I write another folder i overwrite the original.

VB6 and NeroCom

any code examples to help would be superb


#4

Originally posted by DonnyDo
[B]I am having the hardest time trying to write a folder and then a file inside that folder. I get the folder written then when I write another folder i overwrite the original.

VB6 and NeroCom

any code examples to help would be superb [/B]



    Dim isoTrack As New NeroISOTrack
    Dim rootFolder As New NeroFolder
    Dim subFolder As New NeroFolder
    Dim file As New NeroFile
    
    file.Name = "my file"
    file.SourceFilePath = "c:\autoexec.bat"
    
    subFolder.Name = "my sub folder"
    subFolder.Files.Add file
    
    rootFolder.Folders.Add subFolder
    
    isoTrack.Name = "my_cd"
    isoTrack.BurnOptions = NERO_BURN_OPTION_USE_JOLIET Or NERO_BURN_OPTION_CREATE_ISO_FS
    isoTrack.rootFolder = rootFolder
    
    drive.BurnIsoAudioCD "", "", False, isoTrack, Nothing, Nothing, NERO_BURN_FLAG_WRITE, 4, NERO_MEDIA_CD

hope this helps
Stephen


#5

I really appreciate your reply. It has helped me closer to my goal. Also, have you come across multisessions before? I understand you have to import the iso tracks from the disc and add them to the new write process but I am unsure of the code. Any Ideas?


#6

sorry, this is as far as i have gone its as much as i have needed.