davidrobin Posted July 29, 2004 Posted July 29, 2004 I want to declare a OpenFileDialog object in a class (the class is in a class library). I try to type system.windows.forms but it is not recognised. Quote
Administrators PlausiblyDamp Posted July 29, 2004 Administrators Posted July 29, 2004 You will need to add a reference to the System.Widows.Forms.dll first. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
davidrobin Posted July 29, 2004 Author Posted July 29, 2004 You will need to add a reference to the System.Widows.Forms.dll first. Things like that often catch me out. I had assumed because the class library was part of a windows application it would know about these things but we live and learn. Quote
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.