Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form flashed and disappered
Message
De
30/07/2002 13:02:05
 
 
À
29/07/2002 05:49:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00682995
Message ID:
00684031
Vues:
24
Hi Nick,

Sorry for late reply. I was giving up on this thread after
2 days without getting a solution. I think it's damned
stupid of me to have made such a mistake which had caused me
two days to find out.
You guessed right ! On double-checking the item list in the
project window, I spotted that instead of "Main.prg", the
form had been mistakenly marked as the main process and thus
there were no read events at all in the exe file. After
marking "set as main" to Main.prg the exe file runs fine.

Thanks to everyone's help and suggestions. You all had
been helpful.


>>Hello,
>>My form runs fine when it is in the VFP system.
>>But when it is compiled into an exe file
>>and run in Windows, it flashes and disappeares.
>>Anybody knows why? Thanks for any help.
>>
>>
>>Below is my "main.prg" to call the form. The form's windowstate = modal
>>*---------------------
>>PROCEDURE Main
>>CLOSE ALL
>>CLEAR ALL
>>_screen.visible = .F.
>>DO FORM R_Form NAME main LINKED
>>READ EVENTS
>>CLOSE DATABASES
>>CANCEL
>>SET NOTIFY ON
>>RETURN
>>*---------------------------
>Jang
>
>just another thought here. You have set your main.prg as the main process when building the project?
>
>Nick Mason
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform