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

C#

 
AnswerRe: I have string "1999220" how to parse? Pin
Richard MacCutchan10-Mar-13 2:58
mveRichard MacCutchan10-Mar-13 2:58 
GeneralRe: I have string "1999220" how to parse? Pin
Unque10-Mar-13 4:17
Unque10-Mar-13 4:17 
AnswerRe: I have string "1999220" how to parse? Pin
M-Badger10-Mar-13 3:21
M-Badger10-Mar-13 3:21 
GeneralRe: I have string "1999220" how to parse? Pin
Unque10-Mar-13 4:17
Unque10-Mar-13 4:17 
AnswerRe: I have string "1999220" how to parse? Pin
Abhinav S10-Mar-13 5:26
Abhinav S10-Mar-13 5:26 
AnswerRe: I have string "1999220" how to parse? Pin
dusty_dex10-Mar-13 6:10
dusty_dex10-Mar-13 6:10 
GeneralRe: I have string "1999220" how to parse? Pin
Manfred Rudolf Bihy10-Mar-13 6:23
professionalManfred Rudolf Bihy10-Mar-13 6:23 
Questioncode wave Pin
samir razzak10-Mar-13 0:27
samir razzak10-Mar-13 0:27 
AnswerMy Vote of 1 Pin
Keith Barrow10-Mar-13 0:55
professionalKeith Barrow10-Mar-13 0:55 
GeneralRe: My Vote if 1 Pin
OriginalGriff10-Mar-13 0:56
mveOriginalGriff10-Mar-13 0:56 
GeneralRe: My Vote if 1 Pin
Keith Barrow10-Mar-13 0:58
professionalKeith Barrow10-Mar-13 0:58 
AnswerRe: code wave Pin
Marco Bertschi10-Mar-13 4:34
protectorMarco Bertschi10-Mar-13 4:34 
Questioncompression wave Pin
samir razzak10-Mar-13 0:17
samir razzak10-Mar-13 0:17 
AnswerRe: compression wave Pin
OriginalGriff10-Mar-13 0:56
mveOriginalGriff10-Mar-13 0:56 
AnswerRe: compression wave Pin
Marco Bertschi10-Mar-13 4:35
protectorMarco Bertschi10-Mar-13 4:35 
GeneralRe: compression wave Pin
dusty_dex10-Mar-13 6:13
dusty_dex10-Mar-13 6:13 
Question[Resolved] Searching for a file in multiple directories? Pin
Goaty651099-Mar-13 16:43
Goaty651099-Mar-13 16:43 
AnswerRe: Searching for a file in multiple directories? Pin
OriginalGriff9-Mar-13 22:39
mveOriginalGriff9-Mar-13 22:39 
GeneralRe: Searching for a file in multiple directories? Pin
Goaty651099-Mar-13 23:05
Goaty651099-Mar-13 23:05 
GeneralRe: Searching for a file in multiple directories? Pin
OriginalGriff9-Mar-13 23:23
mveOriginalGriff9-Mar-13 23:23 
Goaty65109 wrote:
that just gives me the paths to the directories that contain a file called settings.txt

Not quite - if you add a button to your form and run that code in the button click, you will find it prints the full path to all the files called "Settings.txt". So all you have to do is feed the string into your IniFile constructor and access the file:
C#
IniFile ini = new IniFile(file);
You can then add each setting value to your ComboBox Items collection. You don't want to set the Text property each time, because that will only show the last value you set into it - it is just a string property after all! Laugh | :laugh:
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.

GeneralRe: Searching for a file in multiple directories? Pin
Goaty651099-Mar-13 23:31
Goaty651099-Mar-13 23:31 
GeneralRe: Searching for a file in multiple directories? Pin
OriginalGriff9-Mar-13 23:42
mveOriginalGriff9-Mar-13 23:42 
GeneralRe: Searching for a file in multiple directories? Pin
Goaty651099-Mar-13 23:54
Goaty651099-Mar-13 23:54 
GeneralRe: Searching for a file in multiple directories? Pin
OriginalGriff10-Mar-13 0:00
mveOriginalGriff10-Mar-13 0:00 
GeneralRe: Searching for a file in multiple directories? Pin
Goaty6510910-Mar-13 0:34
Goaty6510910-Mar-13 0:34 

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.