Namespace or Type cannot be found.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Please help. I have the following imports in my class file:
Imports System.Windows.Forms
Imports System.Drawing

But I get the following error message when I hover the mouse over the above.
"Namespace or Type 'Form' for imports 'System.Windows.Form' cannot be found.
I get the same message for the System.Drawing namespace also, Why can't it
find those namespaces? Thanks for any help.
Michael Lee
 
Michael said:
Imports System.Windows.Forms
Imports System.Drawing

But I get the following error message when I hover the mouse over the
above.
"Namespace or Type 'Form' for imports 'System.Windows.Form' cannot be
found.
I get the same message for the System.Drawing namespace also, Why can't it
find those namespaces?

Make sure your project contains references to "System.Windows.Forms.dll" and
"System.Drawing.dll".
 
Back
Top