<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Stanimir Stoyanov's Blog</title>
	<link>http://stoyanoff.info/blog</link>
	<description></description>
	<pubDate>Mon, 21 Jul 2008 21:35:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.1</generator>
	<language>en</language>
			<item>
		<title>Tree View Xml</title>
		<link>http://stoyanoff.info/blog/code/tree-view-xml/</link>
		<comments>http://stoyanoff.info/blog/code/tree-view-xml/#comments</comments>
		<pubDate>Sat, 25 Feb 2006 18:19:53 +0000</pubDate>
		<dc:creator>Stanimir Stoyanov</dc:creator>
		
	<category>Windows Vista</category>
		<guid isPermaLink="false">http://www.stoyanoff.info/blog/code/tree-view-xml/</guid>
		<description><![CDATA[Tree View Xml is an application that is used to browse and/or index directories or hard disk drives to XML data source files.
Features:

Data source is specially-formatted XML files.
The common Windows Forms TreeView and ListView controls are updated accordingly to be able to load and interpret data from the aforementioned XML files.
Indexed file and folder attributes [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Tree View Xml</strong> is an application that is used to browse and/or index directories or hard disk drives to XML data source files.</p>
<p><strong>Features:</strong></p>
<ul>
<li>Data source is <em>specially-formatted XML files</em>.</li>
<li>The common Windows Forms <em>TreeView</em> and <em>ListView</em> controls are updated accordingly to be able to load and interpret data from the aforementioned XML files.</li>
<li>Indexed file and folder attributes are:</li>
<ul>
<li><em>File Name</em></li>
<li><em>File Length</em></li>
<li><em>Date Created</em></li>
<li><em>Date Modified</em></li>
<li><em>Date Last Accessed</em></li>
<li><em>File Attributes</em></li>
<li><em>Object Owner (for NTFS objects)</em></li>
</ul>
<li>Each File and Folder element inside the XML document has a unique identifier (a Guid) that is used to either:</li>
<ul>
<li>Invoke the children nodes of a folder, when selected; or</li>
<li>Execute an application or other file when double-clicked in the ListView.</li>
</ul>
<li>Search feature.</li>
<li>Loads a directory listing from the actual File System without having to index it.</li>
<li>Support for nested Virtual File Systems: if an Index.XML file is found in a File System listing, an appropriate &#8220;VFS&#8221; node is appended.</li>
<li>Support for loading multiple Virtual or actual File Systems in a single Tree View Xml control.</li>
<li>Support for appending to an existing XML index file.</li>
<li>Appropriate file type icons are loaded for <a href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemwindowsformslistviewitemclasstopic.asp" target="_blank">ListViewItem</a> objects.</li>
</ul>
<p><strong>Involved technologies:</strong></p>
<ul>
<li><a href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemwindowsforms.asp" target="_blank">Windows Forms</a></li>
<li><a href="http://www.microsoft.com/xml/" target="_blank">XML</a> (<a href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemxml.asp" target="_blank">Managed Code</a>)</li>
<li><a href="http://msdn.microsoft.com/library" target="_blank">Win32 API</a></li>
<ul>
<li><em><a href="http://msdn.microsoft.com/library/en-us/secauthz/security/securable_objects.asp" target="_blank">Security</a></em>: <a href="http://msdn.microsoft.com/library/en-us/secauthz/security/getnamedsecurityinfo.asp" target="_blank">GetNamedSecurityInfo</a>, <a href="http://windowssdk.msdn.microsoft.com/library/en-us/secauthz/security/lookupaccountsid.asp" target="_blank">LookupAccountSid</a>, <a href="http://msdn.microsoft.com/library/en-us/secauthz/security/convertsidtostringsid.asp" target="_blank">ConvertSidToStringSid</a></li>
<li><em><a href="http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/windowing/messagesandmessagequeues.asp" target="_blank">Window Messages</a></em>: <a href="http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/windowing/messagesandmessagequeues/messagesandmessagequeuesreference/messagesandmessagequeuesfunctions/sendmessage.asp" target="_blank">SendMessage</a></li>
<li><em><a href="http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersguide/shell_intro.asp" target="_blank">Shell</a></em>: <a href="http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/functions/shgetfileinfo.asp" target="_blank">SHGetFileInfo</a></li>
</ul>
</ul>
<p align="center"><a href="/code/TreeViewXml/TreeViewXml_Fs.PNG" target="_blank" rel="lightbox[images]"><img title="Tree View Xml: Listing of an actual File System" alt="Tree View Xml: Listing of an actual File System" src="/code/TreeViewXml/TreeViewXml_Fs_th.PNG" /></a> <a href="/code/TreeViewXml/TreeViewXml_Vfs.PNG" target="_blank" rel="lightbox[images]"><img title="Tree View Xml: Listing of a Virtual File System" alt="Tree View Xml: Listing of a Virtual File System" src="/code/TreeViewXml/TreeViewXml_Vfs_th.PNG" /></a></p>
<blockquote><p>Written in C# .NET.</p></blockquote>
]]></content:encoded>
			<wfw:commentRSS>http://stoyanoff.info/blog/code/tree-view-xml/feed/</wfw:commentRSS>
		</item>
	</channel>
</rss>
