#1 Burning Software

It is currently Thu Dec 19, 2024 4:35 am

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: C# Data burning code snippet
PostPosted: Tue Jan 03, 2006 4:58 pm 
Offline

Joined: Tue Jan 03, 2006 4:48 pm
Posts: 43
Location: Atlanta
Hi,

I'm new to the StarBurn SDK and have a few questions such that I may incorporate its great features into my software. Sadly I'm also new to .net programming, although C# has been very easy to pick up so far (my application, except for burning, is pretty much completely implemented).

1) Could anyone point me to a basic code snippet for burning a list of files to a cd/dvd in C#? Sessionless recording is fine, I do not need multisession support, if it makes it easier. Thanks in advance, I know this is a big one.

2) I am using MS Visual Studio 2005. When I copy the 2 main Starburn SDK dlls into my project folder and attempt to add them as references, VS.net 2005 gives an error. Is there an incompatibility w/ VS.net 2005 or (more likely) am I doing something incorrectly?

My order of operations for this is Project menu ---> Add Reference ---> Browse tab ---> Select both Starburn.dll and WnASPI32.dll, then hit ok.

The error basically says that a reference couldn't be added and to make sure the file is accessible and "that it is a valid assembly or COM component."

Thanks in advance for all of the help.

Amro


Top
 Profile  
 
 Post subject: Re: C# Data burning code snippet
PostPosted: Tue Jan 03, 2006 6:58 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Amro,

Alex who is maintaining StarBurn SDK COM wrapper would handle this for you :)

Thanks!

amro wrote:
Hi,

I'm new to the StarBurn SDK and have a few questions such that I may incorporate its great features into my software. Sadly I'm also new to .net programming, although C# has been very easy to pick up so far (my application, except for burning, is pretty much completely implemented).

1) Could anyone point me to a basic code snippet for burning a list of files to a cd/dvd in C#? Sessionless recording is fine, I do not need multisession support, if it makes it easier. Thanks in advance, I know this is a big one.

2) I am using MS Visual Studio 2005. When I copy the 2 main Starburn SDK dlls into my project folder and attempt to add them as references, VS.net 2005 gives an error. Is there an incompatibility w/ VS.net 2005 or (more likely) am I doing something incorrectly?

My order of operations for this is Project menu ---> Add Reference ---> Browse tab ---> Select both Starburn.dll and WnASPI32.dll, then hit ok.

The error basically says that a reference couldn't be added and to make sure the file is accessible and "that it is a valid assembly or COM component."

Thanks in advance for all of the help.

Amro


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 03, 2006 9:36 pm 
Offline

Joined: Tue Jan 03, 2006 4:48 pm
Posts: 43
Location: Atlanta
Thanks Anton, I've sent a forum PM to him. :)


Top
 Profile  
 
 Post subject: Re: C# Data burning code snippet
PostPosted: Wed Jan 04, 2006 1:06 am 
Offline

Joined: Wed Jan 04, 2006 1:02 am
Posts: 22
Hello,

amro wrote:
1) Could anyone point me to a basic code snippet for burning a list of files to a cd/dvd in C#? Sessionless recording is fine, I do not need multisession support, if it makes it easier. Thanks in advance, I know this is a big one.


Currently, we have C# sample to burn DVD-Video discs from files. And JavaScript sample of creating and burning Joliet Data discs from files.
Take a look at StarBurn.JolietImage object.

amro wrote:
2) I am using MS Visual Studio 2005. When I copy the 2 main Starburn SDK dlls into my project folder and attempt to add them as references, VS.net 2005 gives an error. Is there an incompatibility w/ VS.net 2005 or (more likely) am I doing something incorrectly?


Please, don't do that. There is a StarBurn.OCX (COM wrapper of StarBurn SDK) which can be used from C#/VB/JavaScript.

Regards,
Alexey Popov


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 05, 2006 4:45 pm 
Offline

Joined: Tue Jan 03, 2006 4:48 pm
Posts: 43
Location: Atlanta
thanks very much, i'm going to try and get started on this this weekend :)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 05, 2006 8:34 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Please keep us updated :)

amro wrote:
thanks very much, i'm going to try and get started on this this weekend :)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 15, 2006 12:45 am 
Offline

Joined: Tue Jan 03, 2006 4:48 pm
Posts: 43
Location: Atlanta
thanks, i'll do my best..school's kept me busy :)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 15, 2006 3:37 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
No problem! :)

amro wrote:
thanks, i'll do my best..school's kept me busy :)


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 19 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group