Still missing something
OK, I found the InitializeComponent call as suggested. However, the help file says to "Add an IsInitializing property to the form." I examined the form's property window, and there is no property named IsInitializing. Is there some method for adding a property to a...
Upon converting a VB 6.0 app to VB.net I find several comments warning that an event may fire when the form is initialized. The Help file says to add an IsInitializing property to the form and then set it to True in the form's constructor just prior to the InitializeComponent call. However, I...
Thanks for making me look closer at the Open Form calls in my Startup program.
I discovered that I had a Me.Close statement just ahead of the call to open the next form. Why it's there I don't know -- I'll have to inspect my original code to see.
Anyway, removing the Me.Close statement solved...
I upgraded from a Windows based VB 6.0 application and the program opens OK with the Startup form. However, when it attempts to open another form the form doesn't open, exits the run state and displays the code window for the form it was attempting to open. This happens on all forms except one...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.