Results 1 to 14 of 14

Thread: vb.net and winzip

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Reading, UK
    Posts
    870

    vb.net and winzip

    Hi,

    does anyone know if it's possible to automate winzip with vb.net and anyone have any examples/resources?

    Many thanks
    Nick
    www.vb-tech.com
    .Net Freelance Development
    http://weblog.vb-tech.com/nick
    My blog

  2. #2
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    If you looking for a zip class in .NET use SharpZipLib
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Reading, UK
    Posts
    870
    i need to unzip stuff rather than zip it up.
    www.vb-tech.com
    .Net Freelance Development
    http://weblog.vb-tech.com/nick
    My blog

  4. #4
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    you can unzip with it too.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Reading, UK
    Posts
    870
    Hi,

    has anybody used this and managed to get it compiled?

    I try following the instructions but i must just be being thick! When i try to run installGAC, which is supposed to register the dll in the GAC (i think!), it comes up with:

    Failure adding assembly to the cache: Access is denied

    Is this because i am not logged onto my PC as administrator?


    Please help! I'm desperate!

    Nick
    www.vb-tech.com
    .Net Freelance Development
    http://weblog.vb-tech.com/nick
    My blog

  6. #6
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    Maybe thats the case, but you can add it as another project to your project and work with it, i guess.
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  7. #7
    Addicted Member parminder's Avatar
    Join Date
    Apr 2003
    Location
    India
    Posts
    168
    You can use Free VB.net Resource Kit. It has readmade control in it for Zip files. You can create, update and extract it with simple commands in VB.net

    you can find this resource kit at www.microsoft/vbasic

    I used it. It it is good. and it is FREE

    enjoy

  8. #8
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Another solution . Use J# Classes to zip files with C# . Sounds weird but it shows the beautiful meaning of language interoperability . http://msdn.microsoft.com/msdnmag/is...n/default.aspx

  9. #9
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    won't that need the extra j# runtimes that are not included in the default framework?
    \m/\m/

  10. #10
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by PT Exorcist
    won't that need the extra j# runtimes that are not included in the default framework?
    I think so . It's about 12 mb and it's apart from the other framework (the one we use in .net lol)

  11. #11
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    bah thats what i though

    that way it sucks
    \m/\m/

  12. #12

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Reading, UK
    Posts
    870
    Hi all,

    sorry to re-awaken a dead thread but i've finally got round to downloading the resource kit and i can't find anything on the free zip control?

    Any idea any examples/where it is?

    Thanks
    Nick
    www.vb-tech.com
    .Net Freelance Development
    http://weblog.vb-tech.com/nick
    My blog

  13. #13

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Reading, UK
    Posts
    870
    doh,

    i found it. It's one of the free controls from Component One.
    This resource kit looks really good by the way. I recommend you all download it if you haven't yet.

    Nick
    www.vb-tech.com
    .Net Freelance Development
    http://weblog.vb-tech.com/nick
    My blog

  14. #14
    Frenzied Member dinosaur_uk's Avatar
    Join Date
    Sep 2004
    Location
    Jurassic Park
    Posts
    1,098

    Re: vb.net and winzip

    To save anyone looking for the Microsoft resource kit,...

    here is the link

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