|
-
Feb 15th, 2009, 07:47 PM
#1
Thread Starter
Lively Member
[2008] OpenFileDialog in console application
Hello everyone,
I need some help with a problem I have in a console application. I need the program to show a OpenFileDialog window when certain text is entered, such as "file". I've tried doing this and I cannot get it to work. I really need some help with this. Thanks
-
Feb 15th, 2009, 07:49 PM
#2
Re: [2008] OpenFileDialog in console application
Open your MSDN Library and read the documentation for the OpenFileDialog class. What assembly is it declared in? Have you referenced that assembly? What namespace is it a member of? Have you either imported that namespace or else qualified the class name? This is exactly the same for any and every class.
That said, WinForms interaction with the user should generally be avoided in Console applications.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|