Click here to Skip to main content
15,891,513 members
Home / Discussions / C#
   

C#

 
AnswerRe: level of run in win XP Pin
Thomas Stockwell3-Oct-06 14:50
professionalThomas Stockwell3-Oct-06 14:50 
Questionxml export to excell in c# [modified] Pin
Support1233-Oct-06 3:41
Support1233-Oct-06 3:41 
AnswerRe: xml export to excell in c# Pin
Nader Elshehabi3-Oct-06 4:04
Nader Elshehabi3-Oct-06 4:04 
QuestionAgain -recursively search directories Pin
iamnew2C#3-Oct-06 3:13
iamnew2C#3-Oct-06 3:13 
AnswerRe: Again -recursively search directories Pin
Nader Elshehabi3-Oct-06 4:18
Nader Elshehabi3-Oct-06 4:18 
AnswerRe: Again -recursively search directories Pin
Eric Dahlvang3-Oct-06 4:23
Eric Dahlvang3-Oct-06 4:23 
GeneralHelp - Displayin the ResultsRe: Again -recursively search directories Pin
iamnew2C#3-Oct-06 5:58
iamnew2C#3-Oct-06 5:58 
GeneralRe: Help - Displayin the ResultsRe: Again -recursively search directories Pin
LongRange.Shooter3-Oct-06 7:29
LongRange.Shooter3-Oct-06 7:29 
The best vehicle for displaying this in a web is using a treeview control.

public void MyForm_Load(object sender, EventArgs e)
{
     InitializeComponent();    
     RecursiveGetDir(@"C:\Windows", myTreeView.Nodes);    
     Console.Read();
}

static void RecursiveGetDir(string cDir, TreeNodesCollection nodes)
{    
     DirectoryInfo[] dirs =  new DirectoryInfo(cDir).GetDirectories();     
     if (dirs.Length > 0)    
     {        
          foreach(DirectoryInfo dir in dirs)        
          {            
               TreeNode node = new TreeNode(dir.FullName);
               nodes.Add(node);           
               RecursiveGetDir(dir.FullName, node.Nodes);        
          }    
     }    
}

Questiontimeout connection Pin
PaulaM3-Oct-06 2:45
PaulaM3-Oct-06 2:45 
AnswerRe: timeout connection Pin
Rob Philpott3-Oct-06 2:56
Rob Philpott3-Oct-06 2:56 
QuestionOn form's Close Application is not stopping Pin
subrata.jana3-Oct-06 2:35
subrata.jana3-Oct-06 2:35 
AnswerRe: On form's Close Application is not stopping Pin
Nader Elshehabi3-Oct-06 2:38
Nader Elshehabi3-Oct-06 2:38 
Questionstring operations Pin
Vipin.d3-Oct-06 1:50
Vipin.d3-Oct-06 1:50 
AnswerRe: string operations Pin
Nader Elshehabi3-Oct-06 2:05
Nader Elshehabi3-Oct-06 2:05 
GeneralRe: string operations Pin
Rob Philpott3-Oct-06 2:58
Rob Philpott3-Oct-06 2:58 
AnswerRe: string operations Pin
Stefan Troschuetz3-Oct-06 2:09
Stefan Troschuetz3-Oct-06 2:09 
AnswerRe: string operations Pin
LongRange.Shooter3-Oct-06 7:37
LongRange.Shooter3-Oct-06 7:37 
GeneralRe: string operations Pin
Vipin.d4-Oct-06 2:09
Vipin.d4-Oct-06 2:09 
QuestionMake tablerows invisible Pin
tadhg883-Oct-06 0:55
tadhg883-Oct-06 0:55 
AnswerRe: Make tablerows invisible Pin
Rob Philpott3-Oct-06 3:03
Rob Philpott3-Oct-06 3:03 
GeneralRe: Make tablerows invisible Pin
tadhg883-Oct-06 3:10
tadhg883-Oct-06 3:10 
QuestionHelp file issue Pin
Glen Harvy3-Oct-06 0:24
Glen Harvy3-Oct-06 0:24 
AnswerRe: Help file issue Pin
Nader Elshehabi3-Oct-06 2:12
Nader Elshehabi3-Oct-06 2:12 
GeneralRe: Help file issue Pin
Glen Harvy3-Oct-06 4:05
Glen Harvy3-Oct-06 4:05 
GeneralRe: Help file issue Pin
Nader Elshehabi3-Oct-06 4:36
Nader Elshehabi3-Oct-06 4:36 

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.