Click here to Skip to main content
15,891,423 members
Home / Discussions / C#
   

C#

 
GeneralRe: printing with CrystalReportsViewer Pin
troels_sorensen19-Jan-04 5:26
troels_sorensen19-Jan-04 5:26 
GeneralInitialised data in C structures using C# Pin
Member 55383319-Jan-04 4:10
Member 55383319-Jan-04 4:10 
GeneralRe: Initialised data in C structures using C# Pin
Heath Stewart19-Jan-04 4:42
protectorHeath Stewart19-Jan-04 4:42 
GeneralRe: Initialised data in C structures using C# Pin
Member 55383319-Jan-04 6:07
Member 55383319-Jan-04 6:07 
GeneralRe: Initialised data in C structures using C# Pin
Not Active19-Jan-04 9:04
mentorNot Active19-Jan-04 9:04 
GeneralRe: Initialised data in C structures using C# Pin
Heath Stewart19-Jan-04 9:06
protectorHeath Stewart19-Jan-04 9:06 
GeneralRe: Initialised data in C structures using C# Pin
Not Active19-Jan-04 9:35
mentorNot Active19-Jan-04 9:35 
GeneralSerial port comms Pin
tim_mid19-Jan-04 3:11
tim_mid19-Jan-04 3:11 
GeneralRe: Serial port comms Pin
troels_sorensen19-Jan-04 4:15
troels_sorensen19-Jan-04 4:15 
GeneralURGENT...problem with Windows Media Player ! Pin
pahluwalia19-Jan-04 2:54
pahluwalia19-Jan-04 2:54 
GeneralRe: URGENT...problem with Windows Media Player ! Pin
Not Active19-Jan-04 2:57
mentorNot Active19-Jan-04 2:57 
GeneralRe: URGENT...problem with Windows Media Player ! Pin
Heath Stewart19-Jan-04 4:39
protectorHeath Stewart19-Jan-04 4:39 
GeneralIncrease Printing Speed Pin
Shaun Becker19-Jan-04 2:16
Shaun Becker19-Jan-04 2:16 
GeneralRe: Increase Printing Speed Pin
Not Active19-Jan-04 2:33
mentorNot Active19-Jan-04 2:33 
GeneralRe: Increase Printing Speed Pin
Shaun Becker19-Jan-04 3:02
Shaun Becker19-Jan-04 3:02 
GeneralRe: Increase Printing Speed Pin
troels_sorensen19-Jan-04 4:18
troels_sorensen19-Jan-04 4:18 
GeneralGetting network & computer names Pin
Ashraf Alsadiq19-Jan-04 1:51
Ashraf Alsadiq19-Jan-04 1:51 
GeneralRe: Getting network & computer names Pin
Heath Stewart19-Jan-04 4:37
protectorHeath Stewart19-Jan-04 4:37 
GeneralRe: Getting network & computer names Pin
Ashraf Alsadiq19-Jan-04 18:13
Ashraf Alsadiq19-Jan-04 18:13 
GeneralTRACE Pin
bouli19-Jan-04 1:27
bouli19-Jan-04 1:27 
GeneralRe: TRACE Pin
Colin Angus Mackay19-Jan-04 1:44
Colin Angus Mackay19-Jan-04 1:44 
GeneralRe: TRACE Pin
bouli19-Jan-04 1:53
bouli19-Jan-04 1:53 
GeneralRe: TRACE Pin
Heath Stewart19-Jan-04 4:34
protectorHeath Stewart19-Jan-04 4: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 1:18
profoundwhispers19-Jan-04 1:18 
GeneralRe: I'm a bit confused here! Pin
Colin Angus Mackay19-Jan-04 1:57
Colin Angus Mackay19-Jan-04 1:57 

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.