Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem importing namespaces 1

Status
Not open for further replies.

arneweise77

Programmer
Apr 25, 2002
46
SE
Hello all!

when I compile my .vb file(making my own namespace) with the vbc command an error occurs with imports of certain namespaces.
These are my namespaces:
Imports System
Imports System.Drawing
Imports System.Drawing.Imaging
Imports System.Drawing.Drawing2d

Importing System is no problem but the rest the error message reads: "Namespace or type Drawing for the imports System.Drawing cannot be found"

Anyone?
Arne
 
Have you added the reference to the project to System.Drawing ?

To do that, right-click the reference folder in your solution explorer of VS.NET and select "add reference".
The look for your System.Drawing dll file and add it

hth Daren J. Lahey
Just another computer guy...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top