Solved Open file dialog to open folder path VB.NET

January 9, 2013 at 09:07:04
Specs: Windows 7, 4.17Ghz 8GB ram

I would like to use the open file dialog to open a folder path. The standard open folder dialog for VB.NET is more cumbersome to use than the open file style. I know I can select a file in the open file dialog and just grab the folder path. But I feel that is a unnecessary step for my application. I would just like them to navigate to the folder and click "select folder" instead of "open"

Any suggestions would be helpful


See More: Open file dialog to open folder path VB.NET

Report •


#1
January 10, 2013 at 06:32:50


Report •

#2
January 10, 2013 at 06:46:35

No, Similar to the rtf file open. But I only want to select the folder. I like the style and navigation of the open file dialog better than the open folder dialog. I want to use the open file dialog to open a folder.

Just like this: http://www.jmedved.com/content/medi...


Report •

#3
January 10, 2013 at 10:55:37
✔ Best Answer

In that case, you're going to have to create your own open folder dialog class. Most of the work is already done for you by Explorer, but you'll have to handle all of the Win32 to .NET conversion. Assuming you're targeting at least Vista and you have a decent grasp of C++, I suggest reading about the Common Item Dialog.

How To Ask Questions The Smart Way


Report •

Related Solutions

#4
January 10, 2013 at 11:01:02

Thats what I thought. I was afraid it was not built in like other components. But I will give it a shot at making one

Thank you


Report •


Ask Question