Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using a VFP 5.0 app to launch a FoxPro 2.6 app
Message
De
20/07/1999 15:26:58
 
 
À
20/07/1999 09:07:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00243537
Message ID:
00243757
Vues:
26
>We have written an VFP 5.0 application that will automatically check a specified location for a program update, copy the update, and then launch it automatically. We use the RUN command inside the VFP app to launch both VFP and FoxPro 2.6 applications. It runs fine unless the workstation has Windows NT on it. When the application runs, it copies the update, then a black DOS window appears, then the entire application shuts down.
>

You might want to take a look at my API_APPRUN class, which uses CreateProcess() to launch things, or look at the various examples that use ShellExecute() or ShellExecuteEx() to run the pap instead. It's likely that the default .PIF for the VFP run command doesn't provide the right runtime environment under NT.
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