Click here to Skip to main content
16,005,473 members
Home / Discussions / C#
   

C#

 
Question Additional C# 2005 Code Snippets From Microsoft Pin
Kevin McFarlane1-Feb-06 8:46
Kevin McFarlane1-Feb-06 8:46 
QuestionCrystal Viewer 9 RDC Pin
Bedevian1-Feb-06 8:33
Bedevian1-Feb-06 8:33 
QuestionSaving and viewing XML Files Pin
StevieGowland1-Feb-06 8:24
StevieGowland1-Feb-06 8:24 
AnswerRe: Saving and viewing XML Files Pin
malharone1-Feb-06 11:23
malharone1-Feb-06 11:23 
QuestionHow to implement Event log in C# Pin
engsrini1-Feb-06 8:14
engsrini1-Feb-06 8:14 
AnswerRe: How to implement Event log in C# Pin
malharone1-Feb-06 11:26
malharone1-Feb-06 11:26 
GeneralRe: How to implement Event log in C# Pin
engsrini1-Feb-06 20:28
engsrini1-Feb-06 20:28 
GeneralRe: How to implement Event log in C# Pin
malharone2-Feb-06 3:36
malharone2-Feb-06 3:36 
engsrini wrote:
there be any locking problem if multiple dlls or exe try to write into a file at the same time??


From my recollection, the textwriter uses stream in the base and flushes the stream as needed. So you're not always opening and closing the file everytime to write something to trace. From my past experience, I did not run into this problem.

Is the fvent logging is for debugging purpose? if so, do not pollute the System Event (App.) Log. The Event Log does have a limit on the size and throws you a nasty exception if the rate at which you're inserting the new entries is greater than the rate at which it can process deletion of old entries. And the worse part is that there is no information in the Exception which points you to the actual source of the problem.

- Malhar
QuestionImpersanating a user in a connection string Pin
zaboboa1-Feb-06 8:03
zaboboa1-Feb-06 8:03 
AnswerRe: Impersanating a user in a connection string Pin
James Gupta1-Feb-06 8:09
professionalJames Gupta1-Feb-06 8:09 
GeneralRe: Impersanating a user in a connection string Pin
zaboboa1-Feb-06 8:12
zaboboa1-Feb-06 8:12 
GeneralRe: Impersanating a user in a connection string Pin
Tom Wright1-Feb-06 8:20
Tom Wright1-Feb-06 8:20 
GeneralRe: Impersanating a user in a connection string Pin
zaboboa1-Feb-06 8:22
zaboboa1-Feb-06 8:22 
GeneralRe: Impersanating a user in a connection string Pin
Dave Kreskowiak1-Feb-06 9:24
mveDave Kreskowiak1-Feb-06 9:24 
GeneralRe: Impersanating a user in a connection string Pin
zaboboa1-Feb-06 9:56
zaboboa1-Feb-06 9:56 
Questiondivide computing between 2 computers (cluster) Pin
jbu201-Feb-06 6:09
jbu201-Feb-06 6:09 
AnswerRe: divide computing between 2 computers (cluster) Pin
Dave Kreskowiak1-Feb-06 9:16
mveDave Kreskowiak1-Feb-06 9:16 
Questionreplace Pin
fmardani1-Feb-06 6:08
fmardani1-Feb-06 6:08 
AnswerRe: replace Pin
Ravi Bhavnani1-Feb-06 6:12
professionalRavi Bhavnani1-Feb-06 6:12 
AnswerRe: replace Pin
James Gupta1-Feb-06 7:06
professionalJames Gupta1-Feb-06 7:06 
GeneralRe: replace Pin
James Gupta1-Feb-06 7:06
professionalJames Gupta1-Feb-06 7:06 
AnswerRe: replace Pin
Guffa1-Feb-06 7:19
Guffa1-Feb-06 7:19 
GeneralRe: replace Pin
User 66581-Feb-06 7:50
User 66581-Feb-06 7:50 
AnswerRe: replace Pin
Guffa1-Feb-06 8:28
Guffa1-Feb-06 8:28 
GeneralRe: replace Pin
mav.northwind1-Feb-06 9:53
mav.northwind1-Feb-06 9:53 

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.