Zip files using VB6

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • y2kbug

    Zip files using VB6

    I would like to zip files (all sub-folders and files inside a folder,
    but not including that folder).
    I have read several articles on the Internet, teaching me using .dll
    like Info-zip, Zlib, C..., PKZip, etc.
    However, I always meet run-time error!
    And one more problem is that, I don't want future users installing a
    zip utility before they can use my program, as the main function of my
    program is to back-up files in their systems.

    I've searched in Google, and discovered here.
    I've read a article about the "zip folder" function in Windows XP.
    (That reminds me there is such a function in Win XP =.=")
    That means Windows XP has the ability to create zip files, right?
    So, how to use VB6 to create a zip file (including those folders and
    files I've mentioned above), and how to unzip as well?

    Thanks!!!

  • I Don't Like Spam

    #2
    Re: Zip files using VB6

    y2kbug wrote:[color=blue]
    > I would like to zip files (all sub-folders and files inside a folder,
    > but not including that folder).
    > I have read several articles on the Internet, teaching me using .dll
    > like Info-zip, Zlib, C..., PKZip, etc.
    > However, I always meet run-time error!
    > And one more problem is that, I don't want future users installing a
    > zip utility before they can use my program, as the main function of my
    > program is to back-up files in their systems.
    >
    > I've searched in Google, and discovered here.
    > I've read a article about the "zip folder" function in Windows XP.
    > (That reminds me there is such a function in Win XP =.=")
    > That means Windows XP has the ability to create zip files, right?
    > So, how to use VB6 to create a zip file (including those folders and
    > files I've mentioned above), and how to unzip as well?
    >
    > Thanks!!!
    >[/color]

    This is a vb.net group, you probably want to post this in a VB newsgroup

    microsoft.publi c.languages.vb

    Comment

    • y2kbug

      #3
      Re: Zip files using VB6

      Oh, yeah, sorry for that...

      Comment

      • Homer J Simpson

        #4
        Re: Zip files using VB6


        "I Don't Like Spam" <no@spam.com> wrote in message
        news:ePvb9zXSGH A.2176@TK2MSFTN GP10.phx.gbl...
        [color=blue]
        > This is a vb.net group, you probably want to post this in a VB newsgroup
        >
        > microsoft.publi c.languages.vb[/color]

        Or he could look at the Info-Zip project http://www.info-zip.org/



        Comment

        • y2kbugleung@gmail.com

          #5
          Re: Zip files using VB6

          I've read an article about InfoZip in vbAccelerator, but when I run the
          program, I met a run-time error.

          Comment

          • Homer J Simpson

            #6
            Re: Zip files using VB6


            <y2kbugleung@gm ail.com> wrote in message
            news:1142573067 .878138.166570@ i39g2000cwa.goo glegroups.com.. .
            [color=blue]
            > I've read an article about InfoZip in vbAccelerator, but when I run the
            > program, I met a run-time error.[/color]

            Try http://www.info-zip.org/



            Comment

            Working...