Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running exe's
Message
From
08/07/1999 18:34:02
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00239092
Message ID:
00239161
Views:
15
>>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform