Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. WPF
  4. WPF OpenFileDialog and FolderBrowserDialog

WPF OpenFileDialog and FolderBrowserDialog

Scheduled Pinned Locked Moved WPF
wpfcsharpc++question
4 Posts 3 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ausadmin
    wrote on last edited by
    #1

    I am wondering if anyone can point me to some code (or DLL) to build a native OpenFileDialog and FolderBrowserDialog in wpf / xaml, rather than using the System.Windows.Forms controls? We have now replaced the Forms MessageBox with a native WPF taskdialog, which looks much better and behaves more consistently. I would like to do the same for OpenFileDialog and FolderBrowserDialog. Thanks, Tim

    M 1 Reply Last reply
    0
    • A ausadmin

      I am wondering if anyone can point me to some code (or DLL) to build a native OpenFileDialog and FolderBrowserDialog in wpf / xaml, rather than using the System.Windows.Forms controls? We have now replaced the Forms MessageBox with a native WPF taskdialog, which looks much better and behaves more consistently. I would like to do the same for OpenFileDialog and FolderBrowserDialog. Thanks, Tim

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      WPF has a OpenFileDialog class in the Microsoft.Win32 namespace. For Folder Browser dialog, see my blog[^] I thought Pete O'Hanlon was working on a WPF version at one time :) It's definitely a project to make a WPF version to replace the OS dialogs...

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      P 1 Reply Last reply
      0
      • M Mark Salsbery

        WPF has a OpenFileDialog class in the Microsoft.Win32 namespace. For Folder Browser dialog, see my blog[^] I thought Pete O'Hanlon was working on a WPF version at one time :) It's definitely a project to make a WPF version to replace the OS dialogs...

        Mark Salsbery Microsoft MVP - Visual C++ :java:

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #3

        I have been working on one - it's something that I keep coming back to when I have some free time. It's a hell of a complex beast though, as I'm trying to make it completely skinnable.

        "WPF has many lovers. It's a veritable porn star!" - Josh Smith

        As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

        My blog | My articles | MoXAML PowerToys | Onyx

        A 1 Reply Last reply
        0
        • P Pete OHanlon

          I have been working on one - it's something that I keep coming back to when I have some free time. It's a hell of a complex beast though, as I'm trying to make it completely skinnable.

          "WPF has many lovers. It's a veritable porn star!" - Josh Smith

          As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

          My blog | My articles | MoXAML PowerToys | Onyx

          A Offline
          A Offline
          ausadmin
          wrote on last edited by
          #4

          I've only just been able to get back to this question - sorry for the long delay in responding. I guess it looks like this is a complex issue - I'll keep wrapping the System.Windows.Forms controls for the time being, and look out for further developments on this question. Hopefully Microsoft might build something into a future version... Thanks, Tim

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups