Click here to Skip to main content
15,909,030 members
Home / Discussions / C#
   

C#

 
AnswerRe: Massage Board Pin
Christian Graus29-Oct-06 14:43
protectorChristian Graus29-Oct-06 14:43 
AnswerRe: Massage Board Pin
likefood30-Oct-06 4:42
likefood30-Oct-06 4:42 
AnswerRe: Massage Board Pin
Michael P Butler30-Oct-06 4:43
Michael P Butler30-Oct-06 4:43 
GeneralRe: Massage Board Pin
Grid9330-Oct-06 7:42
Grid9330-Oct-06 7:42 
QuestionMaintain log when consuming web service in C# Pin
tell_me29-Oct-06 11:33
tell_me29-Oct-06 11:33 
Questionwant to make RM sound tracks play on MP3 Pin
Boshkash29-Oct-06 11:10
Boshkash29-Oct-06 11:10 
AnswerRe: want to make RM sound tracks play on MP3 Pin
Christian Graus29-Oct-06 14:44
protectorChristian Graus29-Oct-06 14:44 
QuestionControl container docking region Pin
Kasic Slobodan29-Oct-06 9:40
Kasic Slobodan29-Oct-06 9:40 
AnswerRe: Control container docking region Pin
Kasic Slobodan29-Oct-06 13:12
Kasic Slobodan29-Oct-06 13:12 
QuestionHow can i control the vbscrollbar in a multiline textbox Pin
Bobohunter29-Oct-06 7:10
Bobohunter29-Oct-06 7:10 
Questionsmall file/prog association question Pin
likefood29-Oct-06 5:28
likefood29-Oct-06 5:28 
AnswerRe: small file/prog association question Pin
Jun Du29-Oct-06 12:45
Jun Du29-Oct-06 12:45 
GeneralRe: small file/prog association question Pin
likefood29-Oct-06 12:52
likefood29-Oct-06 12:52 
GeneralRe: small file/prog association question Pin
Jun Du30-Oct-06 2:01
Jun Du30-Oct-06 2:01 
GeneralRe: small file/prog association question Pin
likefood30-Oct-06 4:40
likefood30-Oct-06 4:40 
GeneralRe: small file/prog association question Pin
Irfan Kothari2-Nov-06 2:27
Irfan Kothari2-Nov-06 2:27 
GeneralRe: small file/prog association question Pin
likefood2-Nov-06 5:02
likefood2-Nov-06 5:02 
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

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.