Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Execute a VFP program and then execute another program
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00392654
Message ID:
00392833
Vues:
10
>I have a VFP program that contains an encryped login sequence and a form for the admin to add/edit/delete users.
>When a user logs in to this program, I validate the user and then want to execute a non-VFP program, and to pass it three parameters, i. e. userID, admin status, and a validation to allow the program to execute only after passing through the VFP program.
>My problem is passing the parameters to the new program (one written in C++) and then totally exiting the VFP program.
>This is not for =shellexecute() because I do not want the user to return to my program upon exiting.
>What is the best method for passing the parameters upon doing the RUN /N anotherprog.exe?

Don't use RUN; you can spawn an executable and immediately quit the VFP application using the API_APPRUN class in the files section.
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