Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using shellexecute in .prg file.. Shell Execute Can't Fi
Message
From
24/10/2004 15:17:57
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP3
Miscellaneous
Thread ID:
00954044
Message ID:
00954122
Views:
16
Hi Sergey,

Ok, I placed it in the code and it runs the zip from a UNC path just fine but the "Launchappandwait()" does not terminate upon completion of the extraction and allow the code to go the the "DO update1" command. The download for apprun talks about an FAQ #7798 that I cannot seem to find. I assume it contains the syntax information for use. How do you tell this class to continue?

Thanks!

Jack

oApiRun = NEWOBJECT("api_apprun", "Process")
oApiRun.iccommandline = "pkzip25 -ext -dir -over=all update"
oApiRun.Icwindowmode = "NORMAL"
oApiRun.Launchappandwait()

syscountry = 1
DO update1

DELETE FILE UPDATE.ZIP
DELETE FILE *.BAK
DELETE FILE *.TBK
CLEAR
RETURN
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform