Click here to Skip to main content
15,903,854 members
Home / Discussions / C#
   

C#

 
GeneralRe: Winform Hot Keys Pin
Dr.Walt Fair, PE12-Jun-09 16:38
professionalDr.Walt Fair, PE12-Jun-09 16:38 
GeneralRe: Winform Hot Keys Pin
PIEBALDconsult12-Jun-09 18:21
mvePIEBALDconsult12-Jun-09 18:21 
QuestionTotal Upload , Download Internet Traffic Pin
I Believe In GOD12-Jun-09 10:34
I Believe In GOD12-Jun-09 10:34 
AnswerRe: Total Upload , Download Internet Traffic Pin
Dave Kreskowiak12-Jun-09 11:24
mveDave Kreskowiak12-Jun-09 11:24 
GeneralRe: Total Upload , Download Internet Traffic Pin
harold aptroot12-Jun-09 11:25
harold aptroot12-Jun-09 11:25 
AnswerRe: Total Upload , Download Internet Traffic Pin
I Believe In GOD12-Jun-09 11:34
I Believe In GOD12-Jun-09 11:34 
GeneralRe: Total Upload , Download Internet Traffic PinPopular
Luc Pattyn12-Jun-09 11:51
sitebuilderLuc Pattyn12-Jun-09 11:51 
GeneralRe: Total Upload , Download Internet Traffic Pin
Dave Kreskowiak12-Jun-09 12:43
mveDave Kreskowiak12-Jun-09 12:43 
GeneralRe: Total Upload , Download Internet Traffic Pin
Luc Pattyn12-Jun-09 12:49
sitebuilderLuc Pattyn12-Jun-09 12:49 
GeneralRe: Total Upload , Download Internet Traffic Pin
harold aptroot12-Jun-09 11:53
harold aptroot12-Jun-09 11:53 
GeneralRe: Total Upload , Download Internet Traffic Pin
Dr.Walt Fair, PE12-Jun-09 11:56
professionalDr.Walt Fair, PE12-Jun-09 11:56 
GeneralRe: Total Upload , Download Internet Traffic Pin
harold aptroot12-Jun-09 11:58
harold aptroot12-Jun-09 11:58 
GeneralRe: Total Upload , Download Internet Traffic Pin
Dr.Walt Fair, PE12-Jun-09 12:10
professionalDr.Walt Fair, PE12-Jun-09 12:10 
GeneralRe: Total Upload , Download Internet Traffic Pin
Dave Kreskowiak12-Jun-09 12:46
mveDave Kreskowiak12-Jun-09 12:46 
AnswerRe: Total Upload , Download Internet Traffic Pin
I Believe In GOD12-Jun-09 12:24
I Believe In GOD12-Jun-09 12:24 
QuestionReadig strings from a text file ? Pin
Jasmine Pomelo12-Jun-09 10:28
Jasmine Pomelo12-Jun-09 10:28 
QuestionRe: Readig strings from a text file ? Pin
led mike12-Jun-09 10:35
led mike12-Jun-09 10:35 
AnswerRe: Readig strings from a text file ? Pin
Luc Pattyn12-Jun-09 10:46
sitebuilderLuc Pattyn12-Jun-09 10:46 
Hi,

if the non-comment lines are all "key=value" statements, AND assuming all keys are different, you could store them all in a Dictionary<string,string> making retrieval easy.

Note: Dictionaries don't preserve order, so if you were to modify and store the settings again, the file might look different (and your comments would be gone). If you want to keep comments and order, you could define your own little "MySettingItem" class to keep comment, key and value, and just build a List<MySettingItem> while reading the file.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.

AnswerRe: Readig strings from a text file ? Pin
Josh Martin12-Jun-09 12:26
Josh Martin12-Jun-09 12:26 
AnswerRe: Readig strings from a text file ? Pin
PIEBALDconsult12-Jun-09 13:23
mvePIEBALDconsult12-Jun-09 13:23 
Questionhow can I get data from database and display in textbox Pin
Adekolurejo12-Jun-09 10:15
Adekolurejo12-Jun-09 10:15 
AnswerRe: how can I get data from database and display in textbox Pin
Dave Kreskowiak12-Jun-09 11:23
mveDave Kreskowiak12-Jun-09 11:23 
QuestionRe: how can I get data from database and display in textbox Pin
Adekolurejo12-Jun-09 11:33
Adekolurejo12-Jun-09 11:33 
AnswerRe: how can I get data from database and display in textbox Pin
Dave Kreskowiak12-Jun-09 12:42
mveDave Kreskowiak12-Jun-09 12:42 
AnswerRe: how can I get data from database and display in textbox Pin
Josh Martin12-Jun-09 12:36
Josh Martin12-Jun-09 12: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.