Microsoft Windows Vista has brand new common file dialogs, but unfortunately the OpenFileDialog, SaveFileDialog and FolderBrowserDialog classes from System.Windows.Forms do not use them; they still get the old-style dialogs (want to know why?).

Ookii.VistaDialogs is a .Net 2.0 class library that allows you to use these new-style dialogs exactly the same way as you use the normal dialogs. In addition, it has been created in such a way that you can target both Vista and older versions of Windows (which don't have this new-style dialog) without any additional effort on your part.

These classes have the exact same public interface as the original FileDialog classes in .Net, so all you need to do is replace all instances of the original classes with my classes in your code, and you're good to go. Like I said the classes fall back if the Vista style dialog is not supported, so it supports older versions of Windows as well.

For detailed usage instructions see the included readme.txt.

UPDATE 2006-12-02: Uploaded version 1.2.

Version history:
1.2:

  • Updated to use Interop files from the Windows SDK "VistaBridge" sample.
1.1:
  • Fixed a resource loading bug that could lead to incorrect UI strings on Vista when the Windows UI language does not match the system code page when certain properties of the VistaFileDialog classes were set.
1.0:
  • First release.