Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RUN Flashes PIF
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00270668
Message ID:
00270886
Vues:
24
>I need to RUN a DOS (vendor supplied) decryption EXE. Modifying the Fox PIF to be minimized or invisible, assuring endusers will have a modified PIF, or compatibilty of PIF in different environments, are not as simple as I would like this piece to be.
>
>Is there an API I can wrap around a DOS EXE call that will not cause the MS DOS Window to flash? If there is I would appreciate a structure and and any advice.
>

You can use my API_APPRUN class rather than RUN; it can be downloaded from the Files Section on UT. It uses the CreateProcess() API call to run the DOS executable, and can give as much or as little visibility to the DOS session as desired, with the ability to fire the app and wait on completion, or fire the app and return control to VFP, alllowing you to poll the termination status of the executable.

If you have the WSH installed, the Wscript.Shell automation object also has a RUn method. The FFC ShellExecute uses the ShellExecute() API call to perform similar functions in VFP6.

>Thanks Terry
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform