Add a reference to the System.Drawing.dll assembly. The using statement (as it applies to namespaces and classes) just makes it so you don't have to type as much, it doesn't do anything to the actual code that is output. To actually use a new assembly you need to add a reference to it (in VS.NET right click on your project and choose Add Reference...on the commandline use the /ref:<assemblyname.dll> compiler switch). James "It is self repeating, of unknown pattern" Data - Star Trek: The Next Generation