<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 Forums - The Sandbox - Vista style file dialogs for .Net 2.0</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Forums/rss"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 Forums - The Sandbox - Vista style file dialogs for .Net 2.0</title>
		<link>http://channel9.msdn.com/Forums</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Forums</link>
	<language>en</language>
	<pubDate>Thu, 23 May 2013 15:18:05 GMT</pubDate>
	<lastBuildDate>Thu, 23 May 2013 15:18:05 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>9</c9:totalResults>
	<c9:pageCount>-9</c9:pageCount>
	<c9:pageSize>-1</c9:pageSize>
	<item>
		<title>The Sandbox - Vista style file dialogs for .Net 2.0</title>
		<description><![CDATA[<p>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 (<a target="_blank" href="http://www.ookii.org/showpost.aspx?post=15">want
 to know why?</a>).<br>
<br>
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.<br>
<br>
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.<br>
<br>
For detailed usage instructions see the included readme.txt.<br>
<br>
UPDATE 2006-12-02: Uploaded version 1.2.<br>
<br>
Version history:<br>
1.2:
<ul>
<li>Updated to use Interop files from the Windows SDK &quot;VistaBridge&quot; sample.</li></ul>
1.1:
<ul>
<li>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.</li></ul>
1.0:
<ul>
<li>First release.</li></ul></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/Vista-style-file-dialogs-for-Net-20/230925#230925</link>
		<pubDate>Tue, 19 Sep 2006 15:48:16 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/Vista-style-file-dialogs-for-Net-20/230925#230925</guid>
		<dc:creator>Sven Groot</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Sven Groot/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>The Sandbox - Vista style file dialogs for .Net 2.0</title>
		<description><![CDATA[<p>Wow! This is sweet. You mention some hooks that needed to be installed to get all the functionality the current .NET classes provide. By using the new dialogs, those hooks are no longer required?<br>
<br>
I hope this gets adopted as fast as possible and is already avaialble in .NET 3.0!</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/Vista-style-file-dialogs-for-Net-20/18ae884e37c147d1911a9dea01070c8c#18ae884e37c147d1911a9dea01070c8c</link>
		<pubDate>Mon, 02 Oct 2006 12:57:58 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/Vista-style-file-dialogs-for-Net-20/18ae884e37c147d1911a9dea01070c8c#18ae884e37c147d1911a9dea01070c8c</guid>
		<dc:creator>Christian Liensberger</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/littleguru/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>The Sandbox - Vista style file dialogs for .Net 2.0</title>
		<description><![CDATA[<p><blockquote>
<div>littleguru wrote:</div>
<div>&#65279;Wow! This is sweet. You mention some hooks that needed to be installed to get all the functionality the current .NET classes provide. By using the new dialogs, those hooks are no longer required?</div>
</blockquote>
<br>
Yes, that's the case.<br>
<br>
.Net's own file dialog classes use the old API (naturally), and they must use a dialog hook. For example, the dialogs fire the FileOk event (which is a cancellable event) when the user clicks OK. With the old API, there is no way to determine when the OK button
 is pushed without using a hook. It is because .Net uses a hook that it gets the old dialogs, because the new dialogs don't support hooks. If you use the old API without using hooks, you get the new dialogs, but for .Net this is impossible if you want to preserve
 all functionality.<br>
<br>
The new API is completely different from the old one. It provides far more powerful ways to customize the dialog, and it also provides a proper event model (in the COM way so an event interface that needs to be&nbsp;implemented on an event sink object which is then
 registered with the dialog). This is what I used to replicate the additional functionality. It's really a very nice API (the only drawback is that it's hell to interop with due to the lack of a type library and the use of handle values).</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/Vista-style-file-dialogs-for-Net-20/19b190a4dae748e9a71c9dea01070cb8#19b190a4dae748e9a71c9dea01070cb8</link>
		<pubDate>Mon, 02 Oct 2006 20:33:26 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/Vista-style-file-dialogs-for-Net-20/19b190a4dae748e9a71c9dea01070cb8#19b190a4dae748e9a71c9dea01070cb8</guid>
		<dc:creator>Sven Groot</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Sven Groot/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>The Sandbox - Vista style file dialogs for .Net 2.0</title>
		<description><![CDATA[<p>&nbsp;&nbsp;&nbsp; Sven, I am sorry to tell you that you are actually reinventing the wheel, the Windows Vista SDK already comes with a great example of how to wrap the new vista dialog APIs in .net, they are both callable from windows forms and WPF applications, it
 is located in:<br>
<br>
Your Installation Driver:\Program Files\Microsoft SDKs\Windows\v6.0\Samples\CrossTechnologySamples\VistaBridge<br>
<br>
Sheva<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/Vista-style-file-dialogs-for-Net-20/d45fee13c03446a0bef09dea01070cfa#d45fee13c03446a0bef09dea01070cfa</link>
		<pubDate>Wed, 04 Oct 2006 13:09:25 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/Vista-style-file-dialogs-for-Net-20/d45fee13c03446a0bef09dea01070cfa#d45fee13c03446a0bef09dea01070cfa</guid>
		<dc:creator>Zhou Yong</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/footballism/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>The Sandbox - Vista style file dialogs for .Net 2.0</title>
		<description><![CDATA[<p>This is really amazing. Nice work and neat code <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-2.gif' alt='Big Smile' /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/Vista-style-file-dialogs-for-Net-20/db57801693f44c518e729dea01070d3b#db57801693f44c518e729dea01070d3b</link>
		<pubDate>Mon, 16 Oct 2006 07:43:48 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/Vista-style-file-dialogs-for-Net-20/db57801693f44c518e729dea01070d3b#db57801693f44c518e729dea01070d3b</guid>
		<dc:creator>Waleed El-Badry</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/VBCoder/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>The Sandbox - Vista style file dialogs for .Net 2.0</title>
		<description><![CDATA[<p>Here is the MSDN link for the SDK sample mentioned above if you don't want to install the whole Windows SDK:</p>
<p><a href="http://msdn2.microsoft.com/en-us/library/ms756482.aspx">http://msdn2.microsoft.com/en-us/library/ms756482.aspx</a></p>
<p>However, the example application shows many things and depends on WPF, so to be able to compile/run it, you'll need it anyway.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/Vista-style-file-dialogs-for-Net-20/63a60fb46f2246ac96f49dea01070d7d#63a60fb46f2246ac96f49dea01070d7d</link>
		<pubDate>Sat, 02 Dec 2006 01:58:58 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/Vista-style-file-dialogs-for-Net-20/63a60fb46f2246ac96f49dea01070d7d#63a60fb46f2246ac96f49dea01070d7d</guid>
		<dc:creator>Karby</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Karby/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>The Sandbox - Vista style file dialogs for .Net 2.0</title>
		<description><![CDATA[<p>Thanks for reminding me about this thread. <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p>
<p>I still had an update to upload. It fixes a bug, and uses the interop classes from the sample Footballism mentioned instead of my own.<br>
<br>
EDIT: If you're wondering why I don't just use the library from that sample instead of writing my own, it's because the library from the sample doesn't take non-Vista OSs into account, so you'd still have to write your own fallback code unless you want to support
 only Vista. With my library you get that for free, and since it uses the exact same public interface as the original FileDialog classes it's trivial to plug it into an existing application.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/Vista-style-file-dialogs-for-Net-20/3f3c64554a044f0a8b669dea01070da7#3f3c64554a044f0a8b669dea01070da7</link>
		<pubDate>Sat, 02 Dec 2006 18:17:15 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/Vista-style-file-dialogs-for-Net-20/3f3c64554a044f0a8b669dea01070da7#3f3c64554a044f0a8b669dea01070da7</guid>
		<dc:creator>Sven Groot</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Sven Groot/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>The Sandbox - Vista style file dialogs for .Net 2.0</title>
		<description><![CDATA[<p>Yup, what Sven said <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' />.<br>
<br>
I'm actually the VistaBridge developer (or the main one, at any rate - there have been several contributors over the past several months that are adding content), and Sven speaketh the truth.&nbsp;The VistaBridge sample lib&nbsp;currently has very little fallback for
 pre-Vista OS versions, and that is somewhat by design, at least in terms of our priorities around geting exposure to the new Vista APIs. I'm working on a version 1.1 (which really should be 0.9, but hey) that will be on my blog in &quot;a while&quot; that has a bit
 more fallback behavior, but it won't be super-rich - 1.1 will have more feature work rather than revisiting what is there now, so don't expect miracles there.<br>
<br>
More info at me blog: <a href="http://blogs.msdn.com/jtchris/">http://blogs.msdn.com/jtchris/</a></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/Vista-style-file-dialogs-for-Net-20/3d034b3613f04dceb3109dea01070de9#3d034b3613f04dceb3109dea01070de9</link>
		<pubDate>Mon, 04 Dec 2006 17:54:43 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/Vista-style-file-dialogs-for-Net-20/3d034b3613f04dceb3109dea01070de9#3d034b3613f04dceb3109dea01070de9</guid>
		<dc:creator>jeffchri</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/jeffchri/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>The Sandbox - Vista style file dialogs for .Net 2.0</title>
		<description><![CDATA[<p>Hi Jeff, great to hear from the guy behind the sample. <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br>
<br>
It's clear that the VistaBridge sample and my own Ookii.VistaDialogs serve a different purpose: VistaBridge aims to make new functionality available to .Net apps, while with Ookii.VistaDialogs I just wanted to get the file dialogs to look&nbsp;&quot;right&quot; on Vista (especially
 since I've grown <em>very</em> fond of the &quot;favorite links&quot; bar&nbsp;<img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-11.gif' alt='Cool' /> ) in such a way I could easily put it in apps targetting multiple versions of Windows.<br>
<br>
Both approaches are valid, of course.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/Vista-style-file-dialogs-for-Net-20/642f461b8ad44885a7f39dea01070e14#642f461b8ad44885a7f39dea01070e14</link>
		<pubDate>Mon, 04 Dec 2006 22:20:02 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/Vista-style-file-dialogs-for-Net-20/642f461b8ad44885a7f39dea01070e14#642f461b8ad44885a7f39dea01070e14</guid>
		<dc:creator>Sven Groot</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Sven Groot/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>