The form is shown in designer and code, but I can't actually do anything with the form at design time. I can't put any controls on it as there are none to choose from or change the properties of the form as the properties window is empty!
Regards
Simon
Simon,
Probably you should tell what "...I can't do anything with the form itself." means.
You don't see the class, you do see the class, but it throws some exceptions when using it, compiler complains or nothings trown compiler doesn't complain just the form's doesn't show up when you call Form's Show method.
--
B\rgds
100
The namespace that is wrapped around the form class is correct.
Regards
Simon
Hi Simon,
Pay attention on the namspace the new form is declared in. When you use the wizards they use the *default namespace* setting from the project's properties. However this might not be the right namespace for your project. If this is the case change the namespace or put *uses <form's namspece>* in the file where want to use the form or use fully qualified name of the form class.
--
HTH
B\rgds
100
I simply created it from the Add New Item wizard. It comes up with the form in designer mode and I can change to code view but I can't do anything with the form itself.
It is derived from System.Windows.Forms.Form class and does have a constructor.
Simon