Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with starting exe file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00122360
Message ID:
00127254
Vues:
35
Yes, I understand the problem. It occurs because when you run a menu VFP displays the menu then continues running the next line of the program until it encounters a wait state or the program completes execution. If you're in the VFP environment, you won't exit VFP when the program ends. Your menu will display and you will be able to choose items from it even though your program has completed. When you run the EXE from outside of VFP, the EXE closes when your program terminates. Put a READ EVENTS after you display your menu and a CLEAR EVENTS when your user chooses to exit and your EXE will run properly.

>Hello John,
>Thank you for your responce.
>I appreciate your advice, but it didn't help me much. My problem was that I can not start my .exe file from the Win95 start menu (Start , Run ) . The program starts for a second than disappear. When started from FoxPro environment, it works,
>
>Regards,
>galia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform