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

  • Home
  • SEARCH
  • 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

Ask A Question

Stats

  • Questions 88k
  • Answers 88k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer .val() works on input elements (or any element with a… May 11, 2026 at 5:44 pm
  • Editorial Team
    Editorial Team added an answer Mongrel accepts a --prefix option that will then be prepended… May 11, 2026 at 5:44 pm
  • Editorial Team
    Editorial Team added an answer The optmiser does a good enough job for everyday use.… May 11, 2026 at 5:44 pm

Related Questions

I'm in the process of trying to hack together the first bits of a
I can understand how one can write a program that uses multiple processes or
I am trying to understand if I really have any case for using git/mercurial.
I am working on an application that runs locally on a Fedora 10 machine

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.