Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Executable opens then closes
Message
De
15/01/2007 03:03:00
 
 
À
15/01/2007 02:54:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6
Divers
Thread ID:
01185529
Message ID:
01185545
Vues:
10
This message has been marked as the solution to the initial question of the thread.
>Ok so since I have only 2 forms in my programs, I placed the read events in my main form's init().
>
>The program then hangs when run using the exe. It doesn't even show the main form.
>
>What's wrong?

AFAIK you can NOT have the read events in the form itself, it has to be in the program that calls the form the first time. In your project you must have a "master" program which must be set to Main (right-click the program in the project manager, and mark Set to main). This "master" program must have at lest two line:
Do form yourform
Read events
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform