Click here to Skip to main content
15,920,606 members
Home / Discussions / C#
   

C#

 
GeneralRe: Drawing windows Form over DirectD app Pin
jtmtv189-Jan-05 21:02
jtmtv189-Jan-05 21:02 
GeneralRe: Drawing windows Form over DirectD app Pin
exhaulted9-Jan-05 21:28
exhaulted9-Jan-05 21:28 
QuestionHow and where to place returncode for a form or dialog ? Pin
fracalifa9-Jan-05 6:17
fracalifa9-Jan-05 6:17 
AnswerRe: How and where to place returncode for a form or dialog ? Pin
DougW489-Jan-05 10:30
DougW489-Jan-05 10:30 
GeneralConstructors and inheritance. Pin
johanhertz9-Jan-05 5:43
johanhertz9-Jan-05 5:43 
GeneralRe: Constructors and inheritance. Pin
Robert Rohde9-Jan-05 6:11
Robert Rohde9-Jan-05 6:11 
GeneralRe: Constructors and inheritance. Pin
johanhertz15-Jan-05 1:42
johanhertz15-Jan-05 1:42 
GeneralTreeView Question (Folder Browser) Pin
QzRz8-Jan-05 23:44
QzRz8-Jan-05 23:44 
Hi,

I am working on a Folder Browser for a program, my only guess of what to use is TreeView, but i have never used it before. I have searched on Codeproject for similar application that has a FolderBrowser, but they seems to advanced for me.

Can anyone tell/show me how to make such a program.

Though i do not have a clue on how to do, i started by doing this:

private System.Windows.Forms.TreeView _Directory = new System.Windows.Forms.TreeView();

private void AddTo_Directory()
{
DirectoryInfo all = new DirectoryInfo("c:\\");
foreach(DirectoryInfo x in all.GetDirectories())
{
this._Directory.Nodes.Add(x.ToString());
}
}

but that just give me the directories in "c:\\", I have no idea on how to get all the sub directories! Frown | :(

Thanks
QzRz


QzRz
GeneralRe: TreeView Question (Folder Browser) Pin
Robert Rohde9-Jan-05 0:16
Robert Rohde9-Jan-05 0:16 
GeneralRe: TreeView Question (Folder Browser) Pin
Allan Eagle9-Jan-05 1:01
Allan Eagle9-Jan-05 1:01 
GeneralRe: TreeView Question (Folder Browser) Pin
QzRz9-Jan-05 6:42
QzRz9-Jan-05 6:42 
GeneralRe: TreeView Question (Folder Browser) Pin
Robert Rohde9-Jan-05 19:44
Robert Rohde9-Jan-05 19:44 
GeneralRe: TreeView Question (Folder Browser) Pin
Allan Eagle9-Jan-05 0:57
Allan Eagle9-Jan-05 0:57 
QuestionConnect ASP to A C# program? Pin
Snowjim8-Jan-05 23:20
Snowjim8-Jan-05 23:20 
AnswerRe: Connect ASP to A C# program? Pin
Christian Graus9-Jan-05 9:10
protectorChristian Graus9-Jan-05 9:10 
GeneralRe: Connect ASP to A C# program? Pin
Snowjim9-Jan-05 10:30
Snowjim9-Jan-05 10:30 
GeneralRe: Connect ASP to A C# program? Pin
Christian Graus9-Jan-05 10:34
protectorChristian Graus9-Jan-05 10:34 
GeneralRe: Connect ASP to A C# program? Pin
Snowjim9-Jan-05 10:43
Snowjim9-Jan-05 10:43 
GeneralRe: Connect ASP to A C# program? Pin
Christian Graus9-Jan-05 11:12
protectorChristian Graus9-Jan-05 11:12 
GeneralRe: Connect ASP to A C# program? Pin
Snowjim9-Jan-05 11:26
Snowjim9-Jan-05 11:26 
GeneralRe: Connect ASP to A C# program? Pin
Christian Graus9-Jan-05 11:30
protectorChristian Graus9-Jan-05 11:30 
GeneralRe: Connect ASP to A C# program? Pin
Snowjim9-Jan-05 11:46
Snowjim9-Jan-05 11:46 
GeneralRe: Connect ASP to A C# program? Pin
Christian Graus9-Jan-05 11:50
protectorChristian Graus9-Jan-05 11:50 
GeneralRe: Connect ASP to A C# program? Pin
Snowjim9-Jan-05 12:00
Snowjim9-Jan-05 12:00 
AnswerRe: Connect ASP to A C# program? Pin
Andy Brummer9-Jan-05 16:07
sitebuilderAndy Brummer9-Jan-05 16:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.