By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,673 Members | 1,267 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,673 IT Pros & Developers. It's quick & easy.

System.Drawing ?

P: n/a
If I create a new class library project, why is System.Drawing not available
to me for Import?

I wanted to create a library of color manipulation functions, but I can't
declare a color object!

Insight, please... Thanks.

Jerry

(System.Drawing is there if I add a form to the project, but still can't
"see" it from the class module.)

Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies

P: n/a
When a Class Library project is created is has only 3 libraries
referenced

System
System.Data
System.XML

If you want to use Classes, Defintions etc. from other libraries then
you need to include them as references.
Add System.Drawing.dll to the project references.

Alan.

Nov 21 '05 #2

P: n/a
"Rlrcstr" <rl*****@msn.com> schrieb:
If I create a new class library project, why is System.Drawing not
available to me for Import?


"Project" -> "Add reference..." -> "System.Drawing.dll".

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.