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"
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