Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

:confused:

 

I have to froms: frmMain and frmSplash . When I run the exe file the frmSplash open for couple second then frmMain open. in frmMain I have a exit button, but when I click on it; it only close the app but doesnt close the process. Any idea guys??? :rolleyes:

Posted

Is the frmMain the Startup object or is frmSplash? It sounds like after a few seconds, the frmSplash is hiding itself, but not Closing... The frmMain then Opens and is eventually Closed by the User, but the process is actually being controlled by frmSplash.

 

This is a bit of guesswork on my part, because I don't quite know how your code is working, but this is what it sounds like to me.

 

I would change it up by having the frmMain be your Starup Object and then you can put your code to show the frmSplach within frmMain's Load() event.

 

Does this make sense?

Posting Guidelines

 

Avatar by Lebb

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...