Windows Develop Bookmark and Share   
 index > Windows Forms General > windows explorer??
 

windows explorer??

Hi,
I am writing a kind of windows explorer. It will show the files in a folder. I use treeview to navigate in folders and how can i get the name of  files in a folder?any idea?
MigrationUser 1  Wednesday, May 19, 2004 5:11 AM
using System.IO;

DirectoryInfo info = new DirectoryInfo(@"c:\My Directory");
FileInfo []files = info.GetFiles();
DirectoryInfo []subDirs = info.GetDirectories();
MigrationUser 1  Wednesday, May 19, 2004 3:47 PM

You can use google to search for other answers

Custom Search

More Threads

• I need help - To Automatically display City and State
• dataset binding to a combo box
• Deploying WinForms on a Network and updates
• Communicating between objects in object model
• Can List<T> be bound to DataGridView
• [Vb.net 2003] Monthcalandar Title area
• How to change the DataGridView's private field dataConnection
• manually raise event for ComboBox in form load event handler
• extendeding the TextBox control
• unsafe bitmap