Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to use rtf table of contents in RichTextBox Pin
Dave Kreskowiak17-Sep-08 10:31
mveDave Kreskowiak17-Sep-08 10:31 
QuestionCodepages and character encoding Pin
Miszou17-Sep-08 9:09
Miszou17-Sep-08 9:09 
QuestionBuilding a testing class Pin
OneLessJpeg17-Sep-08 9:02
OneLessJpeg17-Sep-08 9:02 
AnswerRe: Building a testing class Pin
Pete O'Hanlon17-Sep-08 9:07
mvePete O'Hanlon17-Sep-08 9:07 
QuestionDetermining type compatiblity Pin
Clive D. Pottinger17-Sep-08 8:27
Clive D. Pottinger17-Sep-08 8:27 
AnswerRe: Determining type compatiblity Pin
Pete O'Hanlon17-Sep-08 9:11
mvePete O'Hanlon17-Sep-08 9:11 
AnswerRe: Determining type compatiblity Pin
User 665817-Sep-08 9:23
User 665817-Sep-08 9:23 
GeneralRe: Determining type compatiblity Pin
Clive D. Pottinger17-Sep-08 9:51
Clive D. Pottinger17-Sep-08 9:51 
Thanks guys - but I found the cause of the problem... P.E.B.K.A.C.!

I was actually rewriting the routine to use Convert() (thanks Greeeg), when I noticed that I my error message was printing out the wrong info - instead of saying that the parm was "of type passedParmType; requiredParmType was expected", it said it was of "type requiredParmType; passedParmType was expected"!

That led to finding other places where I had mixed up the two references (due to an ambiguous naming convention). Once I fixed that I found that my code was actually working correctly and warning me that I was trying to use an Int32 as a value to an Int16 parameter. D'Oh! | :doh:

Perhaps I should consider a change of career. I hear that Air Traffic Control is less stressful... and apparently the FAA is much more lenient about minor errors than IT managers.

Clive Pottinger
Victoria, BC

QuestionreSetting old values Pin
netJP12L17-Sep-08 7:30
netJP12L17-Sep-08 7:30 
AnswerRe: reSetting old values Pin
Jimmanuel17-Sep-08 9:26
Jimmanuel17-Sep-08 9:26 
Questionbrush problem... Pin
Sajjad Izadi17-Sep-08 6:30
Sajjad Izadi17-Sep-08 6:30 
AnswerRe: brush problem... Pin
Syed Mehroz Alam17-Sep-08 7:04
Syed Mehroz Alam17-Sep-08 7:04 
GeneralRe: brush problem... Pin
Sajjad Izadi17-Sep-08 7:17
Sajjad Izadi17-Sep-08 7:17 
AnswerRe: brush problem... Pin
Harvey Saayman17-Sep-08 8:05
Harvey Saayman17-Sep-08 8:05 
Joke[ot] Pin
Guffa17-Sep-08 8:36
Guffa17-Sep-08 8:36 
GeneralRe: [ot] Pin
Harvey Saayman17-Sep-08 8:52
Harvey Saayman17-Sep-08 8:52 
Questionformating numbers from strings Pin
brsecu17-Sep-08 4:55
brsecu17-Sep-08 4:55 
AnswerRe: formating numbers from strings PinPopular
Scott Dorman17-Sep-08 5:06
professionalScott Dorman17-Sep-08 5:06 
AnswerRe: formating numbers from strings Pin
Blue_Boy17-Sep-08 9:31
Blue_Boy17-Sep-08 9:31 
QuestionSoftware Design.. Whats your approach? Pin
JPWheeler17-Sep-08 3:53
JPWheeler17-Sep-08 3:53 
AnswerRe: Software Design.. Whats your approach? Pin
Scott Dorman17-Sep-08 4:41
professionalScott Dorman17-Sep-08 4:41 
AnswerRe: Software Design.. Whats your approach? Pin
PIEBALDconsult17-Sep-08 6:34
mvePIEBALDconsult17-Sep-08 6:34 
AnswerRe: Software Design.. Whats your approach? Pin
netJP12L17-Sep-08 7:33
netJP12L17-Sep-08 7:33 
AnswerRe: Software Design.. Whats your approach? Pin
Pete O'Hanlon17-Sep-08 9:20
mvePete O'Hanlon17-Sep-08 9:20 
QuestionHow to get the cpu percentage of a specific process using WMI with C# ? Pin
icks17-Sep-08 3:23
icks17-Sep-08 3:23 

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.