Windows Forms: How to Create an Explorer-Style Application

This "How To" contains two sample applications that are both Explorer-like: DirectoryScanner and ExplorerStyleViewer. The former is a simpler example of an Explorer-style application, while the latter seeks to mimic some of the core features of Windows Explorer.

Featured Highlights

Requirements

Microsoft Visual Studio.NET Professional or greater.
Windows 2000 or Windows XP.

Running the Sample

Simply press F5.

1. The Nodes.Count property does not appear in IntelliSense in Visual Basic. (A similar problem occurs with PictureBox.AllowDrop). You can still set this property programmatically, but you will get a precompile error as you type until statement completion.

See Also

ListView  TreeView