i am working on vb.net 2003.as i open my project i cant see the design of the form it shows the error"the designer could not be shown for this file because none of the classes within can be designed".In the code window it shows the error" type System.Windows.Forms.Form is not defined". plz help me out its urgent.
To solve this pboblem i opened a new project in visual studio but it shows the same problem in showing the design of the form.
preeti chaudharyPosted Jan 22, 2008, 11:54 PM
my problem got solved.the dll of system,windows.forms.dll is corruptted so i again added this dll from another system after that i restart my system n its showing design on my form.
thanks 4 ur help.
preeti chaudharyPosted Jan 22, 2008, 2:21 AM
hi i am not using any third party control i am using matlab in this project which is installed on my system.
on the imports statement it shows"imports system. "after that its not showing the option for windows after dot to add.what to add from the refenence for system.windows.forms.form.
i removed it from the project and then try addind it again not getting the accurate reference from the reference.tell me the accurate reference?
Scott LyslePosted Jan 22, 2008, 2:04 AM
You have removed and readded in a reference to System.Windows.Forms? If not, try it, do you have an imports statement for System.Windows.Forms?
Does the form contain any third party controls?
preeti chaudharyPosted Jan 22, 2008, 1:36 AM
Scott LyslePosted Jan 22, 2008, 1:08 AM
What type of project is it? (Windows Application or something else) Do you have the reference to System.Windows.Forms included in the project? Does the form contain any controls that might not have been registered on your machine (i.e., does the form contain any third party controls that you do not have on your development machine?)