FolderBrowserDialog

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mark

    FolderBrowserDialog

    Hello,

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

    I want to use 'System.Windows .Forms.FolderBr owserDialog' 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 FolderBrowserDi alog? Or, is there some other way to accomplish this.

    Thanks,
    Mark
  • Zoury

    #2
    Re: FolderBrowserDi alog

    Hi Mark!

    I guess you could call the ShBrowseForFold er() API..

    here's a sample


    here's the function help file :
    Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.


    --
    Best Regards
    Yanick Lefebvre
    "Mark" <anonymous@disc ussions.microso ft.com> a écrit dans le message de
    news:2D655FEC-C864-4599-B4C1-98122BEDA0BA@mi crosoft.com...[color=blue]
    > Hello,
    >
    > I'm running VS.net 2002 with .net framework 1.0
    >
    > I want to use 'System.Windows .Forms.FolderBr owserDialog' which is[/color]
    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
    FolderBrowserDi alog? Or, is there some other way to accomplish this.[color=blue]
    >
    > Thanks,
    > Mark[/color]


    Comment

    • Zoury

      #3
      Re: FolderBrowserDi alog

      Sorry. I pointed you to a CSharp Sample... here's one for VB.NET



      --
      Best Regards
      Yanick Lefebvre

      "Zoury" <yanick_lefebvr e@hotmail.com> a écrit dans le message de
      news:eRcAQLZTEH A.204@TK2MSFTNG P10.phx.gbl...[color=blue]
      > Hi Mark!
      >
      > I guess you could call the ShBrowseForFold er() API..
      >
      > here's a sample
      > http://www.dotnet247.com/247referenc.../11/59059.aspx
      >
      > here's the function help file :
      >[/color]
      http://msdn.microsoft.com/library/en...eforfolder.asp[color=blue]
      >
      > --
      > Best Regards
      > Yanick Lefebvre
      > "Mark" <anonymous@disc ussions.microso ft.com> a écrit dans le message de
      > news:2D655FEC-C864-4599-B4C1-98122BEDA0BA@mi crosoft.com...[color=green]
      > > Hello,
      > >
      > > I'm running VS.net 2002 with .net framework 1.0
      > >
      > > I want to use 'System.Windows .Forms.FolderBr owserDialog' which is[/color]
      > 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[/color]
      an[color=blue]
      > option. So, how can I trick the OpenFileDialog to act as a
      > FolderBrowserDi alog? Or, is there some other way to accomplish this.[color=green]
      > >
      > > Thanks,
      > > Mark[/color]
      >
      >[/color]


      Comment

      • Cor Ligthert

        #4
        Re: FolderBrowserDi alog

        Hi Mark,

        I got this from Google

        ..NET 1.0:

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

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

        FolderBrowser.m si
        <URL:http://www.gotdotnet.c om/team/vb/FolderBrowser.e xe>

        How to pick a directory
        <URL:http://groups.google.c om/groups?selm=q0J KzDbmCHA.2144%4 0cpmsftngxa09>

        (from a message from Herfried)

        Cor




        Comment

        • Herfried K. Wagner [MVP]

          #5
          Re: FolderBrowserDi alog

          * "=?Utf-8?B?TWFyaw==?=" <anonymous@disc ussions.microso ft.com> scripsit:[color=blue]
          > I'm running VS.net 2002 with .net framework 1.0
          >
          > I want to use 'System.Windows .Forms.FolderBr owserDialog' which is
          > available in .net framework 1.1. From reading posts, I understand that
          > I can't use 1.1 with VS.net 2002.[/color]

          Right.
          [color=blue]
          > So, how can I trick the OpenFileDialog to act as a
          > FolderBrowserDi alog? Or, is there some other way to accomplish this.[/color]

          From my FAQ:

          ..NET 1.0:

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

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

          FolderBrowser.m si
          <URL:http://www.gotdotnet.c om/team/vb/FolderBrowser.e xe>

          How to pick a directory
          <URL:http://groups.google.c om/groups?selm=q0J KzDbmCHA.2144%4 0cpmsftngxa09>

          --
          Herfried K. Wagner [MVP]
          <URL:http://dotnet.mvps.org/>

          Comment

          Working...