Click here to Skip to main content
15,892,005 members
Home / Discussions / C#
   

C#

 
GeneralRe: Limiting the number of lines in a TextBox Pin
Luc Pattyn10-Dec-08 2:28
sitebuilderLuc Pattyn10-Dec-08 2:28 
QuestionC# windows form data grid view issue Pin
AndieDu10-Dec-08 0:59
AndieDu10-Dec-08 0:59 
AnswerRe: C# windows form data grid view issue Pin
SeMartens10-Dec-08 3:12
SeMartens10-Dec-08 3:12 
GeneralRe: C# windows form data grid view issue Pin
AndieDu10-Dec-08 12:42
AndieDu10-Dec-08 12:42 
GeneralRe: C# windows form data grid view issue Pin
SeMartens10-Dec-08 21:14
SeMartens10-Dec-08 21:14 
QuestionDisplay file and folders from computer in treeview with checkbox Pin
kavitaBC9-Dec-08 23:31
kavitaBC9-Dec-08 23:31 
AnswerRe: Display file and folders from computer in treeview with checkbox Pin
N a v a n e e t h9-Dec-08 23:35
N a v a n e e t h9-Dec-08 23:35 
AnswerRe: Display file and folders from computer in treeview with checkbox Pin
Teuz9-Dec-08 23:42
Teuz9-Dec-08 23:42 
You have to code a function that recursively scan a folder for files/folders and add it to the treeview.
You can start with

//this code shows a dialog to choose a folder
FolderBrowserDialog FBD = new FolderBrowserDialog();
FBD.ShowDialog();
string path = FBD.SelectedPath;

//with this you get files in the folder
DirectoryInfo dirInfo = new DirectoryInfo(path);
FileInfo[] filInfo;
filInfo = dirInfo.GetFiles("*.*");
DirectoryInfo subDir = dirInfo.GetDirectory();

Or Something like this. Hope it helps.
QuestionFocus of listview on Vista Pin
Teuz9-Dec-08 23:12
Teuz9-Dec-08 23:12 
QuestionChange a property with strings Pin
softwarejaeger9-Dec-08 22:45
softwarejaeger9-Dec-08 22:45 
AnswerRe: Change a property with strings Pin
Mirko19809-Dec-08 22:59
Mirko19809-Dec-08 22:59 
GeneralRe: Change a property with strings Pin
softwarejaeger9-Dec-08 23:37
softwarejaeger9-Dec-08 23:37 
GeneralRe: Change a property with strings Pin
Mirko19809-Dec-08 23:49
Mirko19809-Dec-08 23:49 
GeneralRe: Change a property with strings Pin
softwarejaeger10-Dec-08 0:15
softwarejaeger10-Dec-08 0:15 
GeneralRe: Change a property with strings Pin
Mirko198010-Dec-08 0:23
Mirko198010-Dec-08 0:23 
GeneralRe: Change a property with strings Pin
softwarejaeger10-Dec-08 0:59
softwarejaeger10-Dec-08 0:59 
GeneralRe: Change a property with strings Pin
Mirko198010-Dec-08 2:08
Mirko198010-Dec-08 2:08 
Questionrealtime price feed Pin
devvvy9-Dec-08 21:59
devvvy9-Dec-08 21:59 
QuestionC# components Pin
Dreekebe9-Dec-08 21:45
Dreekebe9-Dec-08 21:45 
AnswerRe: C# components Pin
TJS4u9-Dec-08 22:01
TJS4u9-Dec-08 22:01 
AnswerRe: C# components Pin
SeMartens9-Dec-08 22:05
SeMartens9-Dec-08 22:05 
GeneralRe: C# components Pin
Dreekebe9-Dec-08 22:19
Dreekebe9-Dec-08 22:19 
AnswerRe: C# components Pin
Giorgi Dalakishvili9-Dec-08 22:20
mentorGiorgi Dalakishvili9-Dec-08 22:20 
GeneralRe: C# components Pin
Dreekebe9-Dec-08 22:29
Dreekebe9-Dec-08 22:29 
AnswerRe: C# components Pin
Tom Deketelaere9-Dec-08 23:05
professionalTom Deketelaere9-Dec-08 23:05 

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.