Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using WinZip
Message
 
 
À
30/07/2001 16:53:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00527556
Message ID:
00537484
Vues:
31
This message has been marked as a message which has helped to the initial question of the thread.
OK, I think I found it. Looks like you've got an extraneous parameter is your WinZip command line, between the zip file name and the target path. The line
oVar.WinZipCmndLn = ALLT(oVar.WinZipLoc) + ;
                    " -e -o " + ;
                    ALLT(oVar.ZipFname) + " " + ALLT(oVar.ZipTargetPath)
should read
oVar.WinZipCmndLn = ALLT(oVar.WinZipLoc) + ;
                    " -e -o " + ;
                    ALLT(oVar.ZipFname) + ALLT(oVar.ZipTargetPath)
Try it and see.

>nope. nothing under the path column...
>
>using the msmapi class, the files that are attached are temporily stored in the c:\temp\ directory. once i .fetch() the attachment, I am attempting to extract the zip file....
>
>oVar.ZipFname = allt(m.att_file)
>
>***********oVar.Zipfname equals "c:\temp\z442001.zip"
>
>oVar.WinZipCmndLn = ALLT(oVar.WinZipLoc) + ;
> " -e -o " + ;
> ALLT(oVar.ZipFname) + " " + ALLT(oVar.ZipTargetPath)
>
>oProcess = CREATEOBJECT("API_APPRUN", allt(oVar.WinZipCmndLn),"","NOR")
>oProcess.LaunchAppAndWait()
>WAIT CLEAR
>oVar.ZipStatus = oProcess.CheckProcessExitCode()
>oProcess = .NULL.
>
>RELEASE CLASSLIB PROCESS
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform