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

C#

 
QuestionURGENT HELP - Combobox Problems Pin
Wargamon29-Oct-06 3:21
Wargamon29-Oct-06 3:21 
QuestionHow to call text file & compare it Pin
sewedy28-Oct-06 23:03
sewedy28-Oct-06 23:03 
AnswerRe: How to call text file & compare it Pin
Tamimi - Code28-Oct-06 23:33
Tamimi - Code28-Oct-06 23:33 
GeneralRe: How to call text file & compare it Pin
sewedy29-Oct-06 0:48
sewedy29-Oct-06 0:48 
GeneralRe: How to call text file & compare it Pin
Tamimi - Code29-Oct-06 1:33
Tamimi - Code29-Oct-06 1:33 
GeneralRe: How to call text file & compare it Pin
sewedy29-Oct-06 1:37
sewedy29-Oct-06 1:37 
GeneralRe: How to call text file & compare it Pin
jas0n235-Sep-08 5:29
jas0n235-Sep-08 5:29 
AnswerRe: How to call text file & compare it Pin
Christian Graus29-Oct-06 3:13
protectorChristian Graus29-Oct-06 3:13 
System.IO.File.ReadAllText will read the file in a single line of code, and will guarentee to close the file. I don't believe the code you were given will close the file.

Use the visible property to show the button if the text is equal. You may want to also call the Trim method to remove leading and trailing whitespace, otherwise you may think it should be equal when it is not.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

GeneralRe: How to call text file & compare it [modified] Pin
Tamimi - Code29-Oct-06 3:47
Tamimi - Code29-Oct-06 3:47 
Questionmodem GPRS Pin
nmhai8328-Oct-06 21:39
nmhai8328-Oct-06 21:39 
Questioncapture screen with mouse Pin
pbp_28628-Oct-06 21:02
pbp_28628-Oct-06 21:02 
QuestionRe: capture screen with mouse Pin
Jun Du29-Oct-06 5:12
Jun Du29-Oct-06 5:12 
AnswerRe: capture screen with mouse Pin
pbp_28630-Oct-06 3:57
pbp_28630-Oct-06 3:57 
QuestionHow to build a ProgressBar that depend on other process (retrieving data from DB) ? Pin
digitalhand28-Oct-06 19:06
digitalhand28-Oct-06 19:06 
AnswerRe: How to build a ProgressBar that depend on other process (retrieving data from DB) ? Pin
Larantz28-Oct-06 19:38
Larantz28-Oct-06 19:38 
GeneralRe: How to build a ProgressBar that depend on other process (retrieving data from DB) ? Pin
digitalhand29-Oct-06 1:54
digitalhand29-Oct-06 1:54 
GeneralRe: How to build a ProgressBar that depend on other process (retrieving data from DB) ? Pin
Larantz29-Oct-06 11:59
Larantz29-Oct-06 11:59 
GeneralRe: How to build a ProgressBar that depend on other process (retrieving data from DB) ? Pin
digitalhand29-Oct-06 20:01
digitalhand29-Oct-06 20:01 
AnswerRe: How to build a ProgressBar that depend on other process (retrieving data from DB) ? Pin
Pete O'Hanlon30-Oct-06 1:46
mvePete O'Hanlon30-Oct-06 1:46 
GeneralRe: How to build a ProgressBar that depend on other process (retrieving data from DB) ? Pin
digitalhand2-Nov-06 4:31
digitalhand2-Nov-06 4:31 
GeneralRe: How to build a ProgressBar that depend on other process (retrieving data from DB) ? Pin
Pete O'Hanlon2-Nov-06 9:55
mvePete O'Hanlon2-Nov-06 9:55 
AnswerRe: How to build a ProgressBar that depend on other process (retrieving data from DB) ? Pin
jahirhstu10-Jul-09 22:19
jahirhstu10-Jul-09 22:19 
QuestionHidden process Pin
chowj28-Oct-06 17:53
chowj28-Oct-06 17:53 
AnswerRe: Hidden process Pin
Jun Du29-Oct-06 5:09
Jun Du29-Oct-06 5:09 
GeneralRe: Hidden process Pin
chowj29-Oct-06 12:43
chowj29-Oct-06 12: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.