Results 1 to 5 of 5

Thread: IMAPI: adding files to the image

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2007
    Posts
    4

    Exclamation IMAPI: adding files to the image

    Hi, everyone:

    I'm trying to make a dvd-burner application with IMAPI and VB6. I can burn the image correctly.

    The problem is that I can only add folders to the image with the "addTree" method. I can't make the "addFile" method work.

    Anyone knows how can I do it? I want to add files instead of folders to burn files that are located in different places in my hard disk.

    Thanks in advance for you answers.

  2. #2
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: IMAPI: adding files to the image

    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2007
    Posts
    4

    Re: IMAPI: adding files to the image

    Thanks for your answers, LaVolpe, but I visited that links already. Man, I think I have seen all I can see about IMAPI in vb6 there in internet!

    But I still need to know how to add files (not folders) to the disk image to be recorded in the DVD. I don't know even if it is possible with vb6 and IMAPI.

    I'll wait for more responses and I'll thank it in advance.

  4. #4
    Frenzied Member
    Join Date
    Mar 2009
    Posts
    1,182

    Re: IMAPI: adding files to the image

    Actually at vbacellerator there is more than one way to burn cd/dvd and what LaVolpe pointed you to was the VB.NET article but in this http://www.google.com/custom?q=vb6+b...ccelerator.com the third and fourth article are vb6 and imapi...



    Good Luck
    Option Explicit should not be an Option!

  5. #5

    Thread Starter
    New Member
    Join Date
    Jul 2007
    Posts
    4

    Re: IMAPI: adding files to the image

    Thanks forma your answers. Bit that doesn 't solve my problem. I'll explain a bit more.
    The way to add content to the image is the FsiDirectoryItem. This item has the method addTree to add directories to the image. But I need to add single files located in differents places of my harddisk. I suppous it can be done with the addFile method. But I can't make it work. I need to load the file I want to add into a FsiStream object, and I don't know how to do that.

    Thanks again in advance for your answers.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width