-
closing multi-form apps
i feel stupid starting 2 threads inside of 15 minutes. oh well.
when i show a second form in a single app, like this:
Dim fred as New Form2()
fred.show()
Me.Hide()
and then am ready to either close the app or go back to form1, i can't make it work. when i close form2, it closes and leaves form1 residing in the memory, but without a taskbar button or anything. i can only close it w/ the task manager. not to mention i can't even figure out how to even how to get back to form1.
-
well this isnt the best way to do this, but it works:
Dim frm as new Form2
me.hide
frm.ShowDialog ' it waits until form2 is closed and then it runs the next line
me.show
-