Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to run external program within VFP program?
Message
From
05/01/2001 04:32:54
 
 
To
05/01/2001 01:53:59
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00459680
Message ID:
00459694
Views:
21
>>>>>>>>>>>>>
However, The program switch to next line, before the first line run completed.
How can I program to do that the wait window preform after the run command completely done.
>>>>>>>>>>>>>

You can use WSH:
#define SW_SHOW_NORMAL 1
#define SW_SHOW_MINIMIZED 2
#define SW_SHOW_MAXIMIZED 1
oShell = createobject("WScript.Shell")
oShell.Run("winrar a -o+ bb.rar",SW_SHOW_NORMAL,.T.)


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform