hey all I cant seem to get this code to work. Im trying to make my program wait for my shell to finish ( i shell winzip and it creates a zip file) So i need the program to wait until it creates the actual file.
Heres what i got
Why wont this work?
Heres what i got
Code:
ZipName = frmOptions.txtZipTo.Text
Do While Dir(ZipName) = ""
DoEvents
Wait
Loop
Why wont this work?