Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error message
Message
From
14/02/2006 07:41:30
 
 
To
14/02/2006 02:07:52
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01096070
Message ID:
01096106
Views:
15
Hi Mohammed,

just a wild guess, but could it be that you are creating the zip file in the same folder that you are trying to add files to the zip file from? Maybe your code is trying to add the zip file to itself while it is still being created?

I would try setting cFileZip to another folder and see if that solves your problem.


>hi all,
> any idea,help
>
>i got error message when i try to run this code under.
>
>VFP9.EXE-APLLICATION ERROR
>The Instruction at "Ox7338aa25" referenced memory at "Ox7338aa25", the memory could not be" READ"
>
>
>
>cFileZip = "d:\epsoss\rpart2.ZIP"
>cSource = "d:\epsoss\"
>strtofile(chr(0x50)+chr(0x4B)+chr(0x05)+chr(0x06)+replicate(chr(0),18),cFileZip)
>o=CREATEOBJECT("shell.application")
>FOR EACH ofile IN o.NameSpace(cSource).items
>   o.NameSpace(cFileZip).copyhere(ofile)
>ENDFOR
>
>
>thanks.
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform