System.Windows.Forms

  • Thread starter Thread starter John Espinosa
  • Start date Start date
J

John Espinosa

I am trying to use a message box in a console application. But when I import system.windows.forms in the top line I get an error:

Namespace or type 'Forms' for the Imports 'System.Windows.Forms' cannot be found.

Windows applications seem to run fine. I dont have any other errors with VS 2003.

HELP!!!

TIA
 
* "John Espinosa said:
I am trying to use a message box in a console application. But when I import system.windows.forms in the top line I get an error:

Namespace or type 'Forms' for the Imports 'System.Windows.Forms' cannot be found.

Windows applications seem to run fine. I dont have any other errors with VS 2003.

Add a reference to "System.Windows.Forms.dll" (select the "References"
folder in the project explorer and add "Add reference..." from its
context menu).
 
Back
Top