FolderBrowserDialog

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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.
 
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
 
* "=?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>
 
Back
Top