Results 1 to 7 of 7

Thread: Compressing a File

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Posts
    30
    I have a database (.mdb) file which is 10MB. Every month the file has to be sent out on a standard floppy disk- this is done in a vb program. The file is then taken from the disk and placed in the correct directory in another vb program on another computer.

    I need to know how I can have vb compress this file from 10MB to fit onto a floppy disk (if this is even possible) on the first machine, and then have it uncompress it once it get to the other machine.

    I'm using VB5 Enterprise edition. Thanks in advance for your support.

    -Brandr Beekman
    [email protected]

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    Check this site:http://www.xceedzip.com/ZIP.DLL.html

  3. #3
    Hyperactive Member Asaf_99's Avatar
    Join Date
    Jul 2000
    Location
    Israel
    Posts
    335

    Lightbulb

    I have no code for this but you can try here on WinFiles:
    http://winfiles.cnet.com/apps/98/vb-comp.html
    I think there should be some OCX there.

    And besides, how come a database can be 10MB???
    I hope I helped.
    Asaf Sagi

    ICQ: 61917199
    E-Mail: [email protected]

  4. #4
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Japan
    Posts
    840

    Question

    why can't a database be 10mb?

    it could be 100mb!

    (And probably just as unlikely to zip to fit on a floppy )

    you might have to span disks or go to a different media (Like MO disks or a Zip drive)

    MO drives are great! (I just bought one) Zip drives are cheap!
    Paul Dwyer
    Network Engineer
    Aussie In Tokyo

    Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Posts
    30

    Database Size

    This database isn't that large in the scheme of things. I'm not sure about compression rates however - would I even be allowed to zip 10MB down to 1.44MB?

  6. #6
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    You can't zip it down to 1.44 MB. The best thing to do is buy a zip drive or something.

  7. #7
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Japan
    Posts
    840
    just use win zip to zip it locally first and see what happens, you might be in luck. but if the DB is getting bigger then you'd need another solution soon anyway
    Paul Dwyer
    Network Engineer
    Aussie In Tokyo

    Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)

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