Groups | Blog | Home
all groups > vb.net upgrade > october 2006 >

vb.net upgrade : Difference in Vb.net 2003 and Vb.net 2005


Salman Bashir
10/28/2006 12:28:01 AM
Hi
i was developing a project in Vb.net 2003 and for some reasons i have to
switch to vb.net 2005. and while converting x project into 2005 i am facing
some problems.

1) i have built a form template and all the forms for data input are being
inherited by that form it is workin very well in vs 2003 but in 2005 the
child forms does not opens in design view and states the following error

The designer could not be shown for this file because none of the classes
within it can be designed. The designer inspected the following classes in
the file: Form1 --- The base class 'TestApp.TMForm' could not be loaded.
Ensure the assembly has been referenced and that all projects have been
built.

and when i build the solution visual studio is shutdown with an unknown error

Please reply the solution of this problem as soon as possible

Tim Patrick
10/28/2006 2:34:01 PM
Visual Studio must be able to create an instance of the base form so that
it can display it, allowing you to modify its look in the derived form. That
is, VS requires a compiled and ready-to-use version of the base form. Therefore,
you must build your project with the base form. If you have syntax errors
anywhere in your code, you will have to fix them before building the project.

-----
Tim Patrick
Start-to-Finish Visual Basic 2005

[quoted text, click to view]

AddThis Social Bookmark Button