Jump to content
Xtreme .Net Talk

I feel really Stupid.......


Recommended Posts

Guest herewegoagain
Posted

Okay I have a form open on top of another form which is acting like a login form.......

Login completes the sql code is good everything is great except that the login screen and the intro screen though I tell it to close they hang around in back of the new form!!

Here is what I have tried.........

 

Dim fmintro As New fmintro()

Dim fmjjksupmerge As New fmjjksupmerge()

Dim fmlogin As New fmlogin()

fmlogin.Visible = False

fmintro.Visible = False

 

fmintro.Close

fmlogin.Close

fmjjksupmerge.Visible = True

 

ANy suggestions????????

Guest herewegoagain
Posted
I have a form called fmintro. fmintro if they click on some items opens another form called fmlogin in fixed dialog mode. Upon completion of the log in both fmintro and fmlogin are to give way to the new form called fmjjksupmerge. What do I have to do to make the other 2 forms disappear?
  • *Gurus*
Posted
If you're showing fmLogin with its ShowDialog method, that means execution will return to fmIntro after it's closed, on the next line. At that point you could choose to close fmIntro with Me.Close() and open the new one.

MVP, Visual Developer - .NET

 

Now you see why evil will always triumph - because good is dumb.

 

My free .NET Windows Forms Controls and Articles

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...