Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running exe's
Message
De
08/07/1999 18:34:02
 
 
À
08/07/1999 18:31:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00239092
Message ID:
00239161
Vues:
16
>>>>Hello,
>>>>
>>>>Is there a way to run different programs from within vfp. I have tryed the run command but iit always pops up a dos window before going to the application.
>>>>
>>>>Is the following correct?
>>>>
>>>>RUN C:\MYAPP.EXE
>>>>
>>>That's the native RUN command. If you're using VFP6, you can take a look at the FFC's ShellExecute class, or download my API_APPRUN class from here on UT, which use CreateProces() rather than ShellExecute() as the class basis.
>>
>>I used the /N in front of the call to regedit.exe and I don't see the dos window. Maybe its flashing by to quickly to notice. If I place the /n after the call to the exe then I see the dos window.
>>
>
>Which would make sense - coming before the executable to run, it's a flag for the RUN command, after, it'd be a parameter to the executable being launched, right? Otherwise, how could you pass parameters on the RUN command line to the executable that matched keywords or flags available to RUN??
>
>>Dan

That's true. I was curious though. Does the dos window flash by with the /N in front?

Dan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform