problem with VB .NET

atesh

Freshman
Joined
Aug 2, 2003
Messages
41
Location
Washington State, USA
anybody encounter a similar problem?: I put in all the labels, buttons, textboxes, etc. in my form, then when I write code, and then go back to the designer, the form is BLANK! It happens with every one of my projects. If I run the program everything is there again, but I can't modify anything because the form is blank in the designer.
 
Is the InitializeComponent sub being called from your form's constructor? Paste your form code here, please.
 
yeah I had stupidly deleted the Intialize component, so that was obviously the problem. But what I'm wondering now is when I put it back in, why doesn't the objects on the form reappear.
 
Did you try closing the Form Designer (with the X, not just going to a different window) and re-opening it? That will force re-initialization of the designer.
 
Back
Top