Click here to Skip to main content
15,665,229 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello guys,

I have a problem. I want to use the FolderBrowserDialog but it looks like I don't have the source for it. I googled how to use it but when I want to write the syntax for it, C# Express 2010 doesn't know it. I tried

C#
using System.Windows.Forms;


I also tried:

C#
System.Windows.Forms.FolderBrowserDialog objDialog = new FolderBrowserDialog();


Express simply can't find it. Does anybody how to get it work in C# Express?

Thanks for the help
Posted
Comments
[no name] 21-Mar-13 9:29am    
Did you add System.Windows.Forms as a reference to your project?
ANDiyo 22-Mar-13 3:48am    
Yes I tried it but Express underlines it.

1 solution

 
Share this answer
 
Comments
ANDiyo 21-Mar-13 10:06am    
Express says there isn't a "Forms" namespace in "System.Windows".

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900