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 14:28:55
 
 
To
05/01/2001 04:32:54
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00459680
Message ID:
00459985
Views:
24
Typo fix:

My previous message should've read #define SW_SHOW_MAXIMIZED 3
#define SW_SHOW_NORMAL 1
#define SW_SHOW_MINIMIZED 2
#define SW_SHOW_MAXIMIZED 3
oShell = createobject("WScript.Shell")
oShell.Run("winrar a -o+ bb.rar",SW_SHOW_NORMAL,.T.)
BTW, Ransome, please do not start two threads for the same subject. One should be enough.

Thx.

>>>>>>>>>>>>>>
>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
Reply
Map
View

Click here to load this message in the networking platform