Click here to Skip to main content
15,914,419 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to Select Datagridview certain cell (Urgent) Pin
mohamedyahyaelzayat29-Nov-06 5:58
mohamedyahyaelzayat29-Nov-06 5:58 
QuestionDatabinding to a textbox (Urgent) Pin
Saira Tanwir29-Nov-06 3:51
Saira Tanwir29-Nov-06 3:51 
AnswerRe: Databinding to a textbox (Urgent) Pin
Eduard Keilholz29-Nov-06 4:10
Eduard Keilholz29-Nov-06 4:10 
GeneralRe: Databinding to a textbox (Urgent) Pin
Saira Tanwir29-Nov-06 4:22
Saira Tanwir29-Nov-06 4:22 
QuestionMy app works on the PC but not on the Smart Device - I'm desperate! Pin
Dewald29-Nov-06 3:49
Dewald29-Nov-06 3:49 
QuestionListView [Details View] Pin
h@s@n29-Nov-06 3:40
h@s@n29-Nov-06 3:40 
AnswerRe: ListView [Details View] Pin
dead_link29-Nov-06 6:50
dead_link29-Nov-06 6:50 
QuestionDisplaying Certain Folders & Subs in Treeview Pin
loneferret29-Nov-06 3:18
loneferret29-Nov-06 3:18 
Hello all...
I looked around the forum for a solution, or a good heads up on my problem. Either blind,
or there really isn't an answer posted. So here's my situation.

I need to search through folders for files with a certain file extention [*.mp3]
And display the path to those files in a treeview.
So if a folder has MP3 files, it should display the folder name in the treeview, if not don't add to treeview.
If a folder does not contain MP3s, but its sub-folder(s) do, add folder name + subs to the treeview.
And so on and so forth...
[hmmm hope I'm making myself clear... Smile | :) ]
In the end, I should end-up with a treeview with folders containing mp3 files and folders whos
sub-folders contain mp3 files. In a "Window-Explorer-ish" style.
Then, in the end, when clicking on the node it lists the files in a listview...

Got the searching for MP3 files done, and displaying the contained files in the listview also done.
The trouble right now, is it's adding all folders and subs..even the ones not containing MP3s.

Any ideas anyone ?

Thanks...

LoneFerret
ps: If it helps, I can always paste the code I got so far... but it ain't pretty...
____________________________________________






Cross my heart, smack me dead...stick a lobster on my head.

AnswerRe: Displaying Certain Folders & Subs in Treeview Pin
Scott Dorman29-Nov-06 3:56
professionalScott Dorman29-Nov-06 3:56 
GeneralRe: Displaying Certain Folders & Subs in Treeview Pin
loneferret29-Nov-06 7:28
loneferret29-Nov-06 7:28 
GeneralRe: Displaying Certain Folders & Subs in Treeview Pin
Scott Dorman29-Nov-06 8:06
professionalScott Dorman29-Nov-06 8:06 
QuestionHow to Create a Text Log file in C#... Pin
IamHuM29-Nov-06 3:06
IamHuM29-Nov-06 3:06 
AnswerRe: How to Create a Text Log file in C#... Pin
Ravi Bhavnani29-Nov-06 5:02
professionalRavi Bhavnani29-Nov-06 5:02 
QuestionText View of Xml Document Pin
h@s@n29-Nov-06 2:27
h@s@n29-Nov-06 2:27 
AnswerRe: Text View of Xml Document Pin
loneferret29-Nov-06 2:32
loneferret29-Nov-06 2:32 
GeneralRe: Text View of Xml Document Pin
h@s@n29-Nov-06 3:11
h@s@n29-Nov-06 3:11 
GeneralRe: Text View of Xml Document Pin
ednrgc29-Nov-06 3:14
ednrgc29-Nov-06 3:14 
GeneralRe: Text View of Xml Document Pin
h@s@n29-Nov-06 3:22
h@s@n29-Nov-06 3:22 
GeneralRe: Text View of Xml Document Pin
loneferret29-Nov-06 3:22
loneferret29-Nov-06 3:22 
GeneralRe: Text View of Xml Document Pin
h@s@n29-Nov-06 3:31
h@s@n29-Nov-06 3:31 
QuestionFull path of mapped directory Pin
Azghar Hussain29-Nov-06 2:20
professionalAzghar Hussain29-Nov-06 2:20 
AnswerRe: Full path of mapped directory Pin
Dave Kreskowiak29-Nov-06 9:18
mveDave Kreskowiak29-Nov-06 9:18 
GeneralRe: Full path of mapped directory Pin
Matt Gerrans29-Nov-06 9:24
Matt Gerrans29-Nov-06 9:24 
GeneralRe: Full path of mapped directory Pin
Dave Kreskowiak29-Nov-06 11:53
mveDave Kreskowiak29-Nov-06 11:53 
GeneralRe: Full path of mapped directory Pin
Azghar Hussain6-Dec-06 1:43
professionalAzghar Hussain6-Dec-06 1:43 

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.