|
Question : Cannot hide a form in vb.net 2008?
|
|
I am having a bit of a problem with hiding the form in vb.net 2008. I don't know if this is a bug or something pc related.
I can create a new project from scratch and in the form load event put me.hide and it does absolutly nothing. I went as far as hiding the form in the paint form event but when I do that it's like it unloads the form because I get errors saying that no instance of the form exists.
Anybody else seen this problem or know how to overcome it?
Thanks
|
|
Answer : Cannot hide a form in vb.net 2008?
|
|
When a form Loads, it is not yet shown, in fact. The same thing happened on VB.NET 2005 - the version I have installed -, when I tested the situation you reported. The form didn't hide. It only did so, when I used the form_shown event.
|
|
|