Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to start a VFP EXE with API_apprun class ?
Message
De
09/01/1999 08:08:55
 
 
À
09/01/1999 06:12:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00174320
Message ID:
00174336
Vues:
26
>I do not manage to start a program created with VFP using the API_apprun class.
>
>Can someone help ?

We'll need more information than this. The following works - CI.EXE is an existing VFP app on my computer, compiled under VFP5. This code works under VFP5 and VFP6:
set classlib to process
*  This runs CI.EXE in the "E:\Carrier Information Tool" directory maximized
oProc=create('api_apprun','e:\carrier information tool\ci.exe','e:\carrier information tool','MAX')
? ox.launchapp()
What does your code look like? Some issues you might consider would include shared resource files, available memory and the startup directory.

I've tested this - I can even run a VFP session from within an application as long as resource issues (memory, file access requirements) don't cause problems.


>
>Xavier
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform