Answered Imports System.Drawing

cyclotis04

New member
Joined
Aug 18, 2008
Messages
2
Programming Experience
1-3
I'm creating a component that manipulates bitmaps, but I can't seem to import the System.Drawing namespace.

I have a single solution with a Windows Form Application and a Class Library. The component I'm trying to create is in the Class Library, and the Form is for testing it. I can import System.Drawing into the form, but not into the component. I also tried making my component as a class, but that didn't work either. Any ideas?
 
Last edited:

JohnH

VB.NET Forum Moderator
Staff member
Joined
Dec 17, 2005
Messages
15,552
Location
Norway
Programming Experience
10+
Class Library projects doesn't reference the System.Drawing library by default, you have to reference it before you can use it.
 
Top Bottom