Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running an external VFP exe from within another VFP exe.
Message
 
 
À
03/10/2003 15:32:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00834970
Message ID:
00834999
Vues:
20
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform