Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running an external VFP exe from within another VFP exe.
Message
 
 
To
03/10/2003 15:32:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00834970
Message ID:
00834999
Views:
21
Greg,

You probably need to spawn this as a seperate process to get it to work completely.

loShell = createobject( "wscript.shell" )
loShell.Run( "path+exename arguments", 1, .t. )

The 1 means in a normal window, and the .t. makes it modal so it won't return from the Run() method until the spawned exe terminates.

>I am tring to run a vfp exe that resides in a different directory with its own config.fpw file from within another vfp exe also in a different directory. The VFP exe I am running is seeing the config from my application and thus not seeing its data.
>
>How can I, if I can, specify the exe config.fpw file I am running from within my program.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform