Click here to Skip to main content
15,513,143 members
Home / Discussions / C#
   

C#

 
GeneralRe: Increase Printing Speed Pin
troels_sorensen19-Jan-04 5:18
troels_sorensen19-Jan-04 5:18 
GeneralGetting network & computer names Pin
Ashraf Alsadiq19-Jan-04 2:51
Ashraf Alsadiq19-Jan-04 2:51 
GeneralRe: Getting network & computer names Pin
Heath Stewart19-Jan-04 5:37
protectorHeath Stewart19-Jan-04 5:37 
GeneralRe: Getting network & computer names Pin
Ashraf Alsadiq19-Jan-04 19:13
Ashraf Alsadiq19-Jan-04 19:13 
GeneralTRACE Pin
bouli19-Jan-04 2:27
bouli19-Jan-04 2:27 
GeneralRe: TRACE Pin
Colin Angus Mackay19-Jan-04 2:44
Colin Angus Mackay19-Jan-04 2:44 
GeneralRe: TRACE Pin
bouli19-Jan-04 2:53
bouli19-Jan-04 2:53 
GeneralRe: TRACE Pin
Heath Stewart19-Jan-04 5:34
protectorHeath Stewart19-Jan-04 5:34 
To add to that, the DefaultTraceListener will output messages you pass to Trace or Debug to the output window when you're debugging your application in .NET. To write to files, the event log, or any custom targets you can use additional TraceListener implementations even at runtime (we use one for error logging in our app).

You're right, though, it is much better than the various TRACE macros, though - as Colin mentioned - a much better trace facility would be nice and is expected. To elaborate, every message you pass is passed to each TraceListener, regardless of whether or not they want to handle it (based on a TraceSwitch setting or other proprietary filtering). This can hamper performance.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralI'm a bit confused here! Pin
profoundwhispers19-Jan-04 2:18
profoundwhispers19-Jan-04 2:18 
GeneralRe: I'm a bit confused here! Pin
Colin Angus Mackay19-Jan-04 2:57
Colin Angus Mackay19-Jan-04 2:57 
GeneralRe: I'm a bit confused here! Pin
profoundwhispers19-Jan-04 4:13
profoundwhispers19-Jan-04 4:13 
GeneralDataSources and ListViews Pin
rstrokur19-Jan-04 1:00
rstrokur19-Jan-04 1:00 
GeneralRe: DataSources and ListViews Pin
Heath Stewart19-Jan-04 5:29
protectorHeath Stewart19-Jan-04 5:29 
QuestionHow do I change the ALT-TAB icon ? Pin
Jan R Hansen19-Jan-04 0:30
Jan R Hansen19-Jan-04 0:30 
AnswerRe: How do I change the ALT-TAB icon ? Pin
Heath Stewart19-Jan-04 5:25
protectorHeath Stewart19-Jan-04 5:25 
GeneralReplacement for multiple inheritance Pin
Severino19-Jan-04 0:25
Severino19-Jan-04 0:25 
GeneralRe: Replacement for multiple inheritance Pin
Colin Angus Mackay19-Jan-04 3:09
Colin Angus Mackay19-Jan-04 3:09 
GeneralSoftware Testing tool Pin
Member 33502218-Jan-04 23:47
Member 33502218-Jan-04 23:47 
GeneralRe: Software Testing tool Pin
Colin Angus Mackay19-Jan-04 3:11
Colin Angus Mackay19-Jan-04 3:11 
GeneralWindows Service with Balloon Tooltips Pin
jochen vg18-Jan-04 23:40
jochen vg18-Jan-04 23:40 
GeneralRe: Windows Service with Balloon Tooltips Pin
Heath Stewart19-Jan-04 5:21
protectorHeath Stewart19-Jan-04 5:21 
GeneralWH_KEYBOARD Global Hook Pin
gekoscan18-Jan-04 21:55
gekoscan18-Jan-04 21:55 
GeneralRe: WH_KEYBOARD Global Hook Pin
Duncan Edwards Jones18-Jan-04 22:37
professionalDuncan Edwards Jones18-Jan-04 22:37 
GeneralI don't believe this is the case Pin
gekoscan18-Jan-04 23:11
gekoscan18-Jan-04 23:11 
GeneralRe: I don't believe this is the case Pin
Duncan Edwards Jones19-Jan-04 2:55
professionalDuncan Edwards Jones19-Jan-04 2:55 

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.