Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using WinZip
Message
From
30/07/2001 17:11:33
 
 
To
30/07/2001 16:53:10
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00527556
Message ID:
00537484
Views:
32
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform