I have loop that calls a Sub that runs the following code:
Dim WinZip As System.Diagnost ics.Process
Dim args As String = " -Pru -ex " & lblFolder.Text & "\" & PCName &
".zip @""" & appPth & "WksBkup.tx t"""
WinZip.Start("c :\Program Files\WinZip\wz zip.exe", args)
WinZip.WaitForE xit()
Do
If WinZip.HasExite d = True Then Exit Do
Loop
MsgBox("suppose dly exited")
However, it does not wait, and the message box never appears. I get
several command windows running WinZip at simultaneously. The program
does not block, If I click the button again, I get even more
simultaneously running command windows. But I can't get the program to
wait or even show me the messagebox.
Any ideas?
*** Sent via Developersdex http://www.developersdex.com ***