Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error message
Message
De
15/02/2006 10:15:39
 
 
À
14/02/2006 09:36:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Divers
Thread ID:
01096070
Message ID:
01096464
Vues:
15
Hi Mohammed,

unfortunately I couldn't understand your answers in the email you sent me (BTW, please don't send email, responding here i smuch better).

Could you try again:

When you step through the code, what line of code causes the error?

What are you trying to achieve? Is it just copying a file from one place to another? Or are you trying to create a zip file and zip a file up into that zip file?


>hi,
>i try ,still same thing.
>
>regards.
>thanks.
>
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform