-
Error in compiling
hi,
i am trying to use richtextbox class but i am getting this error.
BC30466: Namespace or type 'Form' for the Imports 'System.Windows.Forms' cannot be found
i had imported system.windows.forms and added reference as system.windows.forms.dll. But still i am getting the error.
Could anyone help me out in resolving this problem.
thanks
Jasvinder
-
umm , you should add references to these two files :
System.dll
System.Windows.Forms.dll
-
hi,
Thanks for yr reply. but the error is still there
i had added references to
system.dll
system.windows.forms
and i am still getting the error.
looking forward for yr more help on it
bye
jasvinder
-
Weird !!:confused:
I'll tell you what I did : I created an empty proj (without any reference). Then added a form , and automatically those dll were added :
System.dll
System.Windows.Forms.dll
System.Data.dll
System.Drawing.dll
so those seem the basic reference that might your app need . try adding the last two dlls and see if this helps !!
-
hi,
Thanks for the reply.
I had included all the dll viz
system
system.data
system.drawing
system.web
system.xml
system.windows.forms
i am getting error when i am importing "system.windows.forms"
i don't know why i am getting this error and how to debug it.
Thanks
Jasvinder
-
make sure that this file is their on your system.
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\SYSTEM.WINDOWS.FORMS.dll