I try to use the FolderBrowserDialog from WPF like this:
public static bool BrowseFolder(out string folderName)
{
using (System.Windows.Forms.FolderBrowserDia
I do belive you need a windows forms host to run anything from the Windows.Forms namespace... try it out!
I would try doing it without using the "using" statement, perhaps it is getting cleaned up too quickly.
This is just a bit of interop nastiness. The WPF code tries to set the focus back to the main window when the dialog is closing. Problem is, the dialog has disabled the window so it can't receive the focus yet. WPF is too eager to change the focus and doesn't otherwise know anything about the dialog behavior. Nothing actually goes wrong.