elloco999
12-21-2004, 12:29 AM
Hi,
I have a strange problem. I designed a form and then added some functions to the class. But when I try to open the design view of the form, I get the following error:
The base class 'System.Windows.Forms.Form'cannot be designed
Can anybody help me with this please?
Thanks,
El Loco
Can you paste or attach your form's code?
A quick search shows that the problem could be related to trying to use an incorrect version of the framework; i.e. trying to reference things in the .NET framework 1.1 path when using VS.NET 2002 (which requires the 1.0 framework, not 1.1).
elloco999
12-23-2004, 12:34 AM
Can you paste or attach your form's code?
A quick search shows that the problem could be related to trying to use an incorrect version of the framework; i.e. trying to reference things in the .NET framework 1.1 path when using VS.NET 2002 (which requires the 1.0 framework, not 1.1).
Well, I guess I now know what the problem is... I'm using the ODBC classes from the .NET Framework 1.1 and I'm using VB 2002! But that realy shoudn't be a problem. The whole idea of the .NET Framework is to be able to use the latest version (with all the bug fixes :)
I'm going to try the project at home this weekend, using vb 2003. I'll see if that works better.
Greets,
El loco
Nope, sorry, VB.NET 2002 cannot use the 1.1 framework. 2003 is backwards compatible (for the most part), but 2002 is not forward compatible.
elloco999
01-04-2005, 01:03 AM
Well, I finally tried my project in 2003, and it works just fine now! Also had some problems with DB access in 2002 and that works fine as well.
Thanks for your help!
Greets,
El Loco