shornw Posted April 20, 2012 Share Posted April 20, 2012 Quite odd really, occasionally, and with no real pattern, I get the error:'AutoIt3\Include\Zip.au3 (333) : ==> Object referenced outside a "With" statement.:' As this is just testing at the moment, the files in the target location don't change, but every now and then I get the error, most times it works just fine$f1 = FileFindFirstFile("C:\Temp\Test\*.au3") While 1 $file = FileFindNextFile($f1) If @error Then ExitLoop _Zip_AddFile($zip, $path & $file) ; MsgBox(0, "", @error) WEnd Am I doing something wrong?Thanks [font='Comic Sans MS']Eagles may soar high but weasels dont get sucked into jet engines[/font] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now