Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

standard exe, form disapears 1

Status
Not open for further replies.

NervousRex

Programmer
Sep 4, 2003
66
US
I have a standard exe with one form which is set to visble. When I first ran the exe the form was not visible.

I added the code in form load to set it to visible again, and show(), ran the exe again...this time the form showed briefly, then disapeared again.

It continues to run as I can see it in task manager processes, but I need to keep it visible to see the results it will be displaying.


What I am doing wrong?
 
I had this problem with an SMO project I was building a while back. My issue was that I called the Me.Close() in the Form Load module and it closed the form before I could do anything with it.

I had to move the Close() to a new module and call that after all the processing had finished.



Catadmin - MCDBA, MCSA
"No, no. Yes. No, I tried that. Yes, both ways. No, I don't know. No again. Are there any more questions?"
-- Xena, "Been There, Done That"
 
WHOOHOO! I actually knew the answer to something. @=)

You're welcome. Glad I could help.



Catadmin - MCDBA, MCSA
"No, no. Yes. No, I tried that. Yes, both ways. No, I don't know. No again. Are there any more questions?"
-- Xena, "Been There, Done That"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top