Hi,
This reply may be a little late going by the date you posted, hopefully you have figured out what was wrong, but this may still help some other people as I have seen this question posted on forums all over the net. Basicly as Planoe said, you have to add a reference to the assembly. To do this in your solution, on the top menu go to project->Add Reference
then scroll down and select the system.drawing.dll, you will now be able to declare using System.Drawing; in your console application.
I was also working from a book that failed to mention this to me, the book gave the impression that System.Drawing could just be declared and used, possibly it has been removed from a console apps standard References since our books were published.
Thanks Planoe, and this helps someone.
Gav
|