469,640 Members | 1,563 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,640 developers. It's quick & easy.

System.Drawing ?

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
2 1889
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
"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.

Similar topics

3 posts views Thread by Terrence | last post: by
reply views Thread by BeeFirst | last post: by
4 posts views Thread by Liverpool fan | last post: by
2 posts views Thread by =?Utf-8?B?TmF0aGFuIFdpZWdtYW4=?= | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.