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

C#

 
Questionhow i can work with struct and union(union in struct .etc) Pin
gary.ruan5-Feb-06 0:49
gary.ruan5-Feb-06 0:49 
AnswerRe: how i can work with struct and union(union in struct .etc) Pin
Dave Kreskowiak5-Feb-06 5:24
mveDave Kreskowiak5-Feb-06 5:24 
GeneralRe: how i can work with struct and union(union in struct .etc) Pin
gary.ruan6-Feb-06 12:57
gary.ruan6-Feb-06 12:57 
GeneralRe: how i can work with struct and union(union in struct .etc) Pin
Dave Kreskowiak6-Feb-06 14:25
mveDave Kreskowiak6-Feb-06 14:25 
Questiongetting window handles Pin
Mridang Agarwalla4-Feb-06 23:37
Mridang Agarwalla4-Feb-06 23:37 
AnswerRe: getting window handles Pin
leppie5-Feb-06 19:42
leppie5-Feb-06 19:42 
Questionsql server credentials Pin
Dimitris Iliopoulos4-Feb-06 22:03
Dimitris Iliopoulos4-Feb-06 22:03 
QuestionEvent Logging Pin
engsrini4-Feb-06 21:36
engsrini4-Feb-06 21:36 
Hi all,

I little bit confused about on what technique has to be used for event logging. My requirement is, there will be windows application which will invoke the dlls functions. each dlls should log there event/error information into a file(including the windows app). If the file execeeds certain amount/certain period i should automatically(programmatically) archieve file and put the file in some backup directory.

For that i have multiple options in c#
1. Logging data into System's Application Log
2. Using Trace Listners
3. Every dlls has to open the log file and write the entry and has to close the file.

Normally what the techinque the people will use for this requirement
(important there is a possiblity one or more dll can write an entry to a file)
Please helpCry | :((
Thanks and RegardsCry | :((
Srini
AnswerRe: Event Logging Pin
CWIZO5-Feb-06 1:00
CWIZO5-Feb-06 1:00 
GeneralRe: Event Logging Pin
engsrini5-Feb-06 19:03
engsrini5-Feb-06 19:03 
GeneralRe: Event Logging Pin
CWIZO5-Feb-06 19:57
CWIZO5-Feb-06 19:57 
Questionthe problem about mixed language(C#+vc.net) Pin
gary.ruan4-Feb-06 20:32
gary.ruan4-Feb-06 20:32 
QuestionDebug Visualizer Pin
Roger Alsing4-Feb-06 20:11
Roger Alsing4-Feb-06 20:11 
QuestionUse of Reflection Pin
Ashwani_kumar4-Feb-06 19:20
Ashwani_kumar4-Feb-06 19:20 
AnswerRe: Use of Reflection Pin
emran8344-Feb-06 19:29
emran8344-Feb-06 19:29 
GeneralRe: Use of Reflection Pin
S. Senthil Kumar4-Feb-06 19:57
S. Senthil Kumar4-Feb-06 19:57 
AnswerRe: Use of Reflection Pin
S. Senthil Kumar4-Feb-06 19:53
S. Senthil Kumar4-Feb-06 19:53 
AnswerRe: Use of Reflection Pin
leppie4-Feb-06 22:02
leppie4-Feb-06 22:02 
AnswerRe: Use of Reflection Pin
Colin Angus Mackay4-Feb-06 23:30
Colin Angus Mackay4-Feb-06 23:30 
QuestionSharing code over multiple sub domains? Pin
Highwave4-Feb-06 18:17
Highwave4-Feb-06 18:17 
AnswerRe: Sharing code over multiple sub domains? Pin
Guffa5-Feb-06 5:49
Guffa5-Feb-06 5:49 
Question2 tasks at the same time with Background Worker Pin
emran8344-Feb-06 17:21
emran8344-Feb-06 17:21 
AnswerRe: 2 tasks at the same time with Background Worker Pin
Ravi Bhavnani4-Feb-06 17:39
professionalRavi Bhavnani4-Feb-06 17:39 
GeneralRe: 2 tasks at the same time with Background Worker Pin
emran8344-Feb-06 19:42
emran8344-Feb-06 19:42 
GeneralRe: 2 tasks at the same time with Background Worker Pin
S. Senthil Kumar4-Feb-06 19:58
S. Senthil Kumar4-Feb-06 19:58 

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.