Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 104051
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T01:13:14+00:00 2026-05-11T01:13:14+00:00

I am actually trying to start a process for winzip and zip a folder.

  • 0

I am actually trying to start a process for winzip and zip a folder. This i am doing using the below code in vb.

Dim startInfo As New System.Diagnostics.ProcessStartInfo Dim pStart As New System.Diagnostics.Process Dim tempFileName As String Try     startInfo = New System.Diagnostics.ProcessStartInfo( _     "c:\Program Files\WinZip\WINZIP32.EXE")     startInfo.Arguments = " -a -r ""c:\test.zip"" c:\test"     startInfo.UseShellExecute = False     startInfo.WindowStyle = Diagnostics.ProcessWindowStyle.Normal      pStart.StartInfo = startInfo     'startInfo.WorkingDirectory = "c:\Program Files\WinZip"     'startInfo.FileName = "WINZIP32.EXE"     pStart.Start()     pStart.WaitForExit()      Catch ex As Exception     Throw End Try 

This works fine when it’s put in a button click event of a windows application. But when the same is done in a button click event of a web application I can see the process is started in the task manager of the machine. But its doesn’t zip nor does it close the application nor does it pop up its winzip ui…. But in very few machines this does work fine. In most of the machine i am facing the problem and also able to reproduce the problem consistently…

But a similar thing if i try doing using 7z zip, it does work fine form a web application itself…

Is there a workaround for this process?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T01:13:15+00:00Added an answer on May 11, 2026 at 1:13 am

    I believe that the .Net framework has built in zip capabilities. I would try using those first. Your zip program probably isn’t running because of permissions on the web server.

    Edit

    I just checked and there seems to be limited zip support in System.IO.Compression. But according to this discussion, it might not be what you need. That discussion however, mentions an article called ‘Decompress Zip files with Windows Shell API and C#‘.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to start modifying an existing application with Eclipse. Actually I had it
Edit--@Uri correctly pointed out that this was an abuse of annotations; trying to actually
I'm using Apache Subversion to manage and store a decent volume of code. Trying
I need help, This is what am actually trying to do. I have two
What I'm actually trying to do is put a WebKitView into a ScreenSaver (which
I am actually trying to change the color index for the first word with
is there similar syntax to php's $$variable in python? what I am actually trying
Actually I am trying to move some box alternatively with in another box. I
Actually I'm trying to implement an ontouchlistener into my android (1.5) application. therefore i
Actually what i am trying to build is like a kind of firewall. It

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.