FolderBrowserDialog

G

Guest

Hello,

I'm running VS.net 2002 with .net framework 1.0

I want to use 'System.Windows.Forms.FolderBrowserDialog' which is available in .net framework 1.1. From reading posts, I understand that I can't use 1.1 with VS.net 2002. Upgrading my VS.net at this point is not an option. So, how can I trick the OpenFileDialog to act as a FolderBrowserDialog? Or, is there some other way to accomplish this.

Thanks,
Mark
 
Z

Zoury

Hi Mark!

I guess you could call the ShBrowseForFolder() API..

here's a sample
http://www.dotnet247.com/247reference/msgs/11/59059.aspx

here's the function help file :
http://msdn.microsoft.com/library/e...ell/reference/functions/shbrowseforfolder.asp

--
Best Regards
Yanick Lefebvre
Mark said:
Hello,

I'm running VS.net 2002 with .net framework 1.0

I want to use 'System.Windows.Forms.FolderBrowserDialog' which is
available in .net framework 1.1. From reading posts, I understand that I
can't use 1.1 with VS.net 2002. Upgrading my VS.net at this point is not an
option. So, how can I trick the OpenFileDialog to act as a
FolderBrowserDialog? Or, is there some other way to accomplish this.
 
C

Cor Ligthert

Hi Mark,

I got this from Google

..NET 1.0:

Folder Browser component for .NET
<URL:http://www.codeproject.com/cs/miscctrl/folderbrowser.asp>

306285 - HOW TO: Implement a Managed Component that Wraps the Browse For
Folder Common Dialog Box by Using Visual C# .NET
<URL:http://support.microsoft.com/?kbid=306285>

FolderBrowser.msi
<URL:http://www.gotdotnet.com/team/vb/FolderBrowser.exe>

How to pick a directory
<URL:http://groups.google.com/groups?selm=q0JKzDbmCHA.2144@cpmsftngxa09>

(from a message from Herfried)

Cor
 
H

Herfried K. Wagner [MVP]

* "=?Utf-8?B?TWFyaw==?= said:
I'm running VS.net 2002 with .net framework 1.0

I want to use 'System.Windows.Forms.FolderBrowserDialog' which is
available in .net framework 1.1. From reading posts, I understand that
I can't use 1.1 with VS.net 2002.
Right.

So, how can I trick the OpenFileDialog to act as a
FolderBrowserDialog? Or, is there some other way to accomplish this.

From my FAQ:

..NET 1.0:

Folder Browser component for .NET
<URL:http://www.codeproject.com/cs/miscctrl/folderbrowser.asp>

306285 - HOW TO: Implement a Managed Component that Wraps the Browse For
Folder Common Dialog Box by Using Visual C# .NET
<URL:http://support.microsoft.com/?kbid=306285>

FolderBrowser.msi
<URL:http://www.gotdotnet.com/team/vb/FolderBrowser.exe>

How to pick a directory
<URL:http://groups.google.com/groups?selm=q0JKzDbmCHA.2144@cpmsftngxa09>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top