Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Reference to the Image class

Posted on 2004-11-01
3
Medium Priority
?
167 Views
Last Modified: 2010-04-23
I have a pile of data classes I've been moving to DLL's.  The output type for the project is Class Library.  One of these classes uses an Image type:

Dim ClientLogo as Image

When I take this to a new Class Library project, the class Image is not defined.  I assume it's an Imports I need so I do:

Imports System.

I would expect to do System.Drawing but it's not an option.  If I simply add System.Drawing in the project references, the Image class is still not available.  2 questions:

What do I have to Import to make the Image class available?
How do I know what to import for this or any other class/type? ie. How would I know to include System.Drawing?

Thanks!
0
Comment
Question by:MIKEV
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
wguerram earned 1000 total points
ID: 12466575
- Right click you project references
- Click add references...
- Search for system.drawing.dll
- double click it and press ok.

now you can Imports System.Drawing
0
 

Author Comment

by:MIKEV
ID: 12466612
It's always the obvious answer. :)  Thanks very much!
0
 
LVL 8

Expert Comment

by:wguerram
ID: 12468159
you're welcome!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question