Important alert: (current site time 7/16/2013 2:31:59 AM EDT)
 

winzip icon

Data CD Writer

Email
Submitted on: 11/1/2006 6:36:53 AM
By: Arne Elster 
Level: Advanced
User Rating: By 42 Users
Compatibility: VB 6.0
Views: 21792
author picture
(About the author)
 
     This creates ISO9660 file system images and optionally burns them on CD-R(W) (2 projects). FlamedLib is still pretty buggy, so I decided to rewrite the ISO9660 class. Now it should be a lot faster and also a lot safer. /// 1. After downloading, open ISO9660\prjISOImageWriter.vbp. If VB can't find something, add a reference to typelibs\OleGuids3.tlb. Now the project should load. /// 2. Add some files or directories (you can also explore the right click menus...), when you're finished with your image, click on the picture on the top left and chose "Create ISO Image". You shouldn't add big files to the image as this would take some time to copy it to the image. /// 3. Open Burn\prjISO.vbp. If you're on a Win 9x/Me machine, you must have installed an ASPI layer (preferably the one from Adaptec, probably already installed), if you're using any newer Windows version, make sure you got Administrator priviledges, else you need a working ASPI layer (quite a hard task on Win XP). Chose your CD writer and the ISO image to write to the CD-R(W), and click "Write image". The write speed is defined as 8x, but you can easily change it in the source (if you got the guts) /////////////////// This project uses the generic commands specified by the T10 technical comittee, all drives produced after 2000/2001 should be compatible. If not, there won't be any damage (maybe your CD-R will be unusable afterwards).

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 23 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
11/1/2006 4:35:38 PMCobein

Just GREAT!! 5*
(If this comment was disrespectful, please report it.)

 
11/1/2006 6:04:07 PMMike Douglas

You're too hard on flamed...that thing rocks. Nice to see the data only version too, 99% of what i use the burner for anyway.
(If this comment was disrespectful, please report it.)

 
11/1/2006 8:47:08 PMenmity

your ISO ISO9660 reader is not working with non-ASCII character systems, I modified it quite a few, and it now works: http://www.cnblogs.com/Files/unruledboy/cISO9660Reader.zip
(If this comment was disrespectful, please report it.)

 
11/2/2006 3:59:48 AMJoaquin Marcher

omg!!!!

why i can't do that progrmams!!!! win cntest please!!! jejeje
(If this comment was disrespectful, please report it.)

 
11/2/2006 5:41:31 AMRic

It would be perfect if Flamed support DVD-R/DVD+/-RW,dual layer DVD and possible blu-ray discs even if these features are "experimental".
(If this comment was disrespectful, please report it.)

 
11/2/2006 6:57:05 AM[rm_code]

Enmity, the archive isn't valid, can you please check if you can open it? I'd be very interested in that!
(If this comment was disrespectful, please report it.)

 
11/2/2006 7:01:43 AM[rm_code]

Ric, you'll sponsor me, right? ;)
(If this comment was disrespectful, please report it.)

 
11/2/2006 9:37:53 AMNoName

getting: "user defined type not defined"
here: IPAOReal As IOleInPlaceActiveObject 'Un-AddRefed pointer for forwarding calls

(If this comment was disrespectful, please report it.)

 
11/2/2006 1:22:23 PMSumudu - Sri Lanka

Very good my dear
(If this comment was disrespectful, please report it.)

 
11/2/2006 2:15:45 PM[rm_code]

NoName, reference the type library in the "typelib" directory, just like I wrote in the description.
(If this comment was disrespectful, please report it.)

 
11/2/2006 8:40:35 PMenmity

@ [rm_code], it was compressed by WinRAR 3.61, maybe not opened with older version. I re-created it with winzip 11, should work now. and modifieda quite a few, added couples of methods, better performance, and an event.
(If this comment was disrespectful, please report it.)

 
11/3/2006 1:34:51 PM[rm_code]

Enmity, thanks, now I can open it. Testing...
(If this comment was disrespectful, please report it.)

 
11/3/2006 3:19:11 PMFlavio Gonzalez Vazquez

Incredible, as always! My 5 *****. No words to describe it!
(If this comment was disrespectful, please report it.)

 
11/5/2006 2:26:47 AMplutomusang

excellent vote from me. However it would be better if the Source codes for OleGuids3.tlb is revealed.
(If this comment was disrespectful, please report it.)

 
11/5/2006 7:13:42 PM[rm_code]

@Plutomusang: http://www.vbaccelerator.com/home/VB/Type_Libraries/OLE_GUID_and_Interface_Definitions/a rticle.asp
(If this comment was disrespectful, please report it.)

 
11/7/2006 5:35:06 AMferd(z)

5 globes for The media guy!
(If this comment was disrespectful, please report it.)

 
11/8/2006 2:29:32 AMackid32

i want to add some file with the previous written session. is it possible?
(If this comment was disrespectful, please report it.)

 
11/8/2006 7:24:35 AM[rm_code]

Not with this program.
(If this comment was disrespectful, please report it.)

 
11/8/2006 2:26:23 PMpa13

hi! how can i erase rewritable disk?
(If this comment was disrespectful, please report it.)

 
11/9/2006 12:47:09 PM[rm_code]

pa13, yes, you could. I just don't have a CD-RW, so I can't put that in.
(If this comment was disrespectful, please report it.)

 
11/11/2006 5:58:50 PMHeriberto Mantilla Santamaria

look nice, I download later and play with this XD
(If this comment was disrespectful, please report it.)

 
11/13/2006 6:00:03 AMkibe

So, ask me pls, how i can write to CD directly, (not needed create ISO Image)? Or, this impossible whis this code?
(If this comment was disrespectful, please report it.)

 
11/15/2006 12:44:04 PMBud

Good job,something to lean from.
(If this comment was disrespectful, please report it.)

 
12/3/2006 1:47:13 PMChris

This is excellent!

Is there somebody who knows how to write an image bigger than 2GB?
It should be possible with API, but I never really got that to work.
This code can write images bigger than 2GB, but everything written to the image after 2GB is corrupt.

Unfortunately it's also not possible to write big files to the image.
I tried to write video files (avi, mpg, wmv) to the image, ranging in size from 400kb to 700mb, but it won't write files bigger than about 125mb to the image.
(If this comment was disrespectful, please report it.)

 
1/27/2007 10:44:45 AMSpector

[Chris]: I haven't looked over the code since I've never tried to create an image bigger than 2GB with this project, but it seems it has to do with the Long value upper limit of 2GB in the VB IDE. You will probably have to correct the API file handling routines. Here is a link to good article explaining: http://www.codeguru.com/columns/experts/article.php/c12917/
(If this comment was disrespectful, please report it.)

 
3/11/2008 3:31:01 PMAcADIeN

The problem with dvd is the type long, I tried changing it to a variant and I managed to create an iso of 4gb, but its not a valid iso, back to the drawing board, I will figure out what's going on and will keep you posted

(If this comment was disrespectful, please report it.)

 
3/14/2008 7:33:30 AMAcADIeN

Ok after a lot of searching and testing and debugging, I see exactly where the problem is (and it make sense reading other comment from here). It's really because of the FileSeek function in modFileAccess, after it pass the 2gb, the Fileseek return -2000000000 instead of 2000000000 (overflow), so to fix that problem, we need to modify the FileSeek with something like this http://support.microsoft.com/default.aspx?scid=kb;en-us;189981
(If this comment was disrespectful, please report it.)

 
3/14/2008 12:30:04 PMSylvain Robichaud

I managed to create an iso of 4gb that is not corrupted, but now I'm having problem when creating an iso of 4gb with file that are more than 600 meg each (I posted the modification of modfileaccess.bas on this site)
(If this comment was disrespectful, please report it.)

 
4/7/2008 7:36:43 AMSylvain Robichaud

Now I'm able to create big iso (4gb+) with file that are 2gb+, the only thing needed now to have a complete work arround, is a way to burn them on to a dvd.
(If this comment was disrespectful, please report it.)

 
6/18/2008 12:19:33 PMSoorya

Arne Elster,
Thanks a lot for the wonderful submission. My 5* always there for you.
I need to burn CUE/BIN Raw file on CD, will this code help me? Show we alter it ?

(If this comment was disrespectful, please report it.)

 
12/21/2008 11:04:00 AMRon

Hi
I am not an expert and the VBForum gave me a link to your site. I want to be able to save a Access file from a VB program to CD nothing fancy and for private use only.
I downloaded your Flamed_Lib191964812005
the Data CD Writer looks like it may be what I want but I am not sure how to link this to my VB program. Can you help?
Ron
(If this comment was disrespectful, please report it.)

 
4/1/2009 1:23:18 PMvxx

" Sylvain Robichaud

Now I'm able to create big iso (4gb+) with file that are 2gb+, the only thing needed now to have a complete work arround, is a way to burn them on to a dvd."

May u please upload it so i can tweak the dvd side of it. there must be a way fore sure.
or any help from any1 is fine too.
(If this comment was disrespectful, please report it.)

 
9/11/2009 4:16:24 AMmohammad

thank you man grate job i know you are the best ... :)

(If this comment was disrespectful, please report it.)

 
5/12/2010 12:20:08 PMAndrea

HI, I downloaded the code and I tried to run it. First it give me a overflow error. I correct it. In the function ProcessBuffer of FL_CDAudioWriter there are some LONG value, I've changed to Single. Now it give me a Buffer Underrun error. How can I correct it?
Thank you very much for your excellent work.
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.