#1 Burning Software

It is currently Thu Dec 19, 2024 6:24 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Burn Data DVD in VB.net
PostPosted: Wed Apr 23, 2008 9:30 pm 
Offline

Joined: Wed Apr 23, 2008 9:25 pm
Posts: 1
I am trying to write a program that will burn a data DVD in VB.net

I need to add individual files to the DVD and then burn it. I have started working with the sample code for VB.net but this is setup for burning Video CDs only, could someone please give me a sample of adding and burning a data dvd in VB.net

This is the section of code where my program errors, code in the addfile window resolves to "C:\test\test.rar"

Dim DVDImage As StarBurn.CJolietImage
prbProcess.Value = 0
stbStatus.Text = "Creating filesystem"
DVDImage = New StarBurn.CJolietImage
Try
stbStatus.Text = "Adding files"

Dim i As Integer
For i = 0 To UBound(FileList)
DVDImage.AddFile(filepath & FileList(i).FileName)
Next




'
' Build image
'
DVDImage.Build(0, "TestImg", "")
Catch ex As Exception
stbStatus.Text = "Ready!"
Me.txt_Status.Text = "Failed"
'MessageBox.Show(DVDImage.ErrorMessage, "DVD Video Burner", MessageBoxButtons.OK, MessageBoxIcon.Error)
MsgBox("Failed to build DVD image", MsgBoxStyle.OkOnly)
Return
End Try


Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 24, 2008 7:18 am 
Offline

Joined: Fri Jan 26, 2007 4:31 pm
Posts: 452
Hello,

You can try to use our new StarBurn COM & .NET Wrapper SDK.

Download link:
https://www.rocketdivision.com/downloads/starburnx.exe

P.S. Look to VB.Net DataBurner Sample.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group