joe_pool_is Posted January 24, 2008 Posted January 24, 2008 In VB2005, I am trying to import a namespace into a Class I am building. The Class uses the Screen class found in System.Windows.Forms, but whenever I go up to my empty class to include the codeImport System.Windows.FormsI get that the namespace can not be found. I don't make stand alone classes very often, so what have I done wrong? Typically, I'd have a class as part of a project that includes a form, but this is something I'll use over and over - so I want it to be a separate module that I can load as needed. Quote Avoid Sears Home Improvement
Administrators PlausiblyDamp Posted January 24, 2008 Administrators Posted January 24, 2008 Have you added a reference to the System.Windows.Forms.dll? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
joe_pool_is Posted January 25, 2008 Author Posted January 25, 2008 Well.... I have now! Thanks. Quote Avoid Sears Home Improvement
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.