Hello VBForum !
I just registered and it looks like a very awesome forum :)
I have a very small question, just started with all the Visual Basic business..
To make your life easier, I'll demonstrate it hehe
I made a button in the main form, and 2 textboxes, like that (a simple login screen, which doesn't work yet):
![]()
The "Login" button perform this:
This is how "Form2" looks like:
![]()
The "x" button perform this:
And then it shows up "Form1" again.. now, for my question:
Is there a way to hide the "Form1" or even close it, in order to show it up like the same way "Form2" do ?
I mean, after you open up "Form2" you only HIDE "Form1", and when you close "Form2" and open it once again, the opening way is different, because it's not only hidden.
I did this before, but I'm not sure how.. and no, I can't do "Form1.close", because it terminates all the debugging.
Lol hope you understand :blush:
Thanks !
I just registered and it looks like a very awesome forum :)
I have a very small question, just started with all the Visual Basic business..
To make your life easier, I'll demonstrate it hehe
I made a button in the main form, and 2 textboxes, like that (a simple login screen, which doesn't work yet):

The "Login" button perform this:
Code:
Form2.Show()
Me.Hide()

The "x" button perform this:
Code:
Form1.Show()
Me.Close()
Is there a way to hide the "Form1" or even close it, in order to show it up like the same way "Form2" do ?
I mean, after you open up "Form2" you only HIDE "Form1", and when you close "Form2" and open it once again, the opening way is different, because it's not only hidden.
I did this before, but I'm not sure how.. and no, I can't do "Form1.close", because it terminates all the debugging.
Lol hope you understand :blush:
Thanks !