ARTICLE

Windows Explorer in C#

Posted by K Niranjan Kumar Articles | Windows Forms C# May 03, 2001
Windows Explorer application gives you a picture of how to use Treeview, Listview, Imagelist, Toolbar, Statusbar Tooltip, LinkLabel controls.
Reader Level:
Download Files:
 

Description:

I have developed a Dialog based Windows Explorer Application in C# using Visual Studio.NET. This application gives you a picture of how to use Treeview, Listview, Imagelist, Toolbar, Statusbar, Tooltip, LinkLabel controls. This also gives you a picture on how to use System.IO namespace for Directory and file manipulations. Also throws light on System.Globalization for date formating. The treeview population is done using a PopulateFolders() recursive function. Floppy drive is read only when the tree node is clicked. The application doesn't create any folder or file. This is just a read only application of your hard-drive. Planning to add more features in next version.

Source Code:

The complete source code and executable is available in the WinExplorer.zip file. The main window code is available in WExplorer.cs

 WinExplorerInC.gif



Login to add your contents and source code to this article
post comment
     

tnx

Posted by Ahmad Haghighi Mar 19, 2013

thank you very much

Posted by Nguyen vuong Apr 04, 2011

I am having problem in using imagelist with listview.actually I need to show files of the selected directory from the treeview on the listview with icons.so tell me the procedure.

Posted by shashi mishra Aug 27, 2010

Hi...Thanks for the code..But how to create new files and folders?

Posted by Shruthi May 31, 2010

it is not good~

Posted by dsg fgdg Oct 15, 2009
COMMENT USING
PREMIUM SPONSORS
DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and add new content to existing PDF documents from within your applications.
Get Career Advice from Experts
SPONSORED BY
  • PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.
Join a Chapter