Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement