Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a program from a program.
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00807965
Message ID:
00807982
Views:
21
>I've tried that Bret but I keep getting the message:
>
>RUN ¦ ! command failed
>
>This is what I did:
>
>RUN /N (C:\QuestPDM\questpdm.exe")
>
>Thanks
>Neil

From a past thread:

You can try to use WIndows Script Host:

#define SW_SHOW_NORMAL 1
#define SW_SHOW_MINIMIZED 2
#define SW_SHOW_MAXIMIZED 3
oShell = createobject("WScript.Shell")
oShell.Run("notepad.exe",SW_SHOW_NORMAL,.F.)
The last parameter controls if you run synchronously or asynchronously (e.g. wait for it to complete, or not).
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Reply
Map
View

Click here to load this message in the networking platform