Information générale
Catégorie:
Gestionnaire d'écran & Écrans
I'm assuming you're only showing us "some" of your code, Evelyn.
At the same time, if you expect to have at least one Form "hang around" when running an EXE, you need a READ EVENTS in your main program.
Running from the command window is like running with an "implicit" READ EVENTS; that is another difference between an EXE and running from the command window.
"Windows" respond to events (like mouse and keyboard). READ EVENTS creates a wait state that allows these events to be handled. Without a READ EVENTS in your app, program flow simply runs from the beginning of your main program, "out the bottom".
Stop me if you've heard this before ... :)
>i'm also thinking that way.. so i tried removing the thisform.release in my active form..
>
>but it's still releasing my form..
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