Quote:
Originally posted by sunburnt
This is a major difference between vb6 and .NET. In .NET, forms are truly classes, as opposed to the pseudo-classes that they were in vb6. As such, when you create a frmMain with the frmDesigner, you have created a class called frmMain. Thusly, you must create a new instance of it
You're both right and wrong. You do have to declare an instance of a form in VB.NET because it is a real class, but in VB6, you also needed an instance to the form. The difference is that in VB6, there was already a variable automatically declared for you as an instance to the form. In VB.NET, you have to declare it yourself.