Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a program from a program.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00807965
Message ID:
00807982
Vues:
22
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform