Click here to Skip to main content
15,901,926 members
Home / Discussions / C#
   

C#

 
QuestionMonitor keys while the control is NOT in focus Pin
p3rson11-Oct-09 4:44
p3rson11-Oct-09 4:44 
AnswerRe: Monitor keys while the control is NOT in focus Pin
stancrm11-Oct-09 4:48
stancrm11-Oct-09 4:48 
AnswerRe: Monitor keys while the control is NOT in focus Pin
Anthony Mushrow11-Oct-09 7:06
professionalAnthony Mushrow11-Oct-09 7:06 
QuestionReturning datatable/dataset by from server in a Multithread Client server socket programming Pin
AhmedMasum11-Oct-09 2:55
AhmedMasum11-Oct-09 2:55 
AnswerRe: Returning datatable/dataset by from server in a Multithread Client server socket programming Pin
Eddy Vluggen11-Oct-09 3:51
professionalEddy Vluggen11-Oct-09 3:51 
GeneralRe: Returning datatable/dataset by from server in a Multithread Client server socket programming Pin
AhmedMasum12-Oct-09 4:25
AhmedMasum12-Oct-09 4:25 
GeneralRe: Returning datatable/dataset by from server in a Multithread Client server socket programming Pin
Eddy Vluggen12-Oct-09 5:25
professionalEddy Vluggen12-Oct-09 5:25 
QuestionTracing different threads Pin
manustone11-Oct-09 2:11
manustone11-Oct-09 2:11 
Hi all
I would like to use Trace class or TraceListener to make code tracing in each thread at a different indendation level.

//Example
Function #1 From Thread#1
Function #2 From Thread#1
                Function #1 From Thread#2
Function #3 From Thread#1
                Function #2 From Thread#2
                Function #3 From Thread#2


Most of Trace methods are shared so setting Trace.IndentLevel changes this value for all threads.
If I use 2 different objects for the same TraceListener, like for example ConsoleOutputTraceListener, there is no Thread safety guaranteed ( check IsThreadSafe for each object ).
Do you know some general approach to solve this issue?
Do I have to implement my own logger?
Kind Regards
Mn
AnswerRe: Tracing different threads Pin
Keith Barrow11-Oct-09 2:30
professionalKeith Barrow11-Oct-09 2:30 
Questionopen exe file Pin
Member 432709611-Oct-09 1:28
Member 432709611-Oct-09 1:28 
AnswerRe: open exe file Pin
dataminers11-Oct-09 1:53
dataminers11-Oct-09 1:53 
AnswerRe: open exe file Pin
Md. Marufuzzaman11-Oct-09 2:12
professionalMd. Marufuzzaman11-Oct-09 2:12 
AnswerRe: open exe file Pin
Abhijit Jana11-Oct-09 3:50
professionalAbhijit Jana11-Oct-09 3:50 
QuestionGet IP from IPInterfaceProperties Pin
Johan Martensson11-Oct-09 0:33
Johan Martensson11-Oct-09 0:33 
AnswerRe: Get IP from IPInterfaceProperties Pin
dataminers11-Oct-09 1:58
dataminers11-Oct-09 1:58 
GeneralRe: Get IP from IPInterfaceProperties Pin
Johan Martensson11-Oct-09 4:07
Johan Martensson11-Oct-09 4:07 
Questionwant dll to change pitch of the sound in C#. Pin
bill khan10-Oct-09 22:51
bill khan10-Oct-09 22:51 
QuestionCustom UserControl and the Designer Pin
softwarejaeger10-Oct-09 22:33
softwarejaeger10-Oct-09 22:33 
AnswerRe: Custom UserControl and the Designer Pin
Henry Minute11-Oct-09 1:18
Henry Minute11-Oct-09 1:18 
QuestionUDP SOCKS5 Help [modified] Pin
murktinez10-Oct-09 21:58
murktinez10-Oct-09 21:58 
AnswerRe: UDP SOCKS5 Help Pin
murktinez11-Oct-09 7:40
murktinez11-Oct-09 7:40 
Questioninternet explorer on page event hook Pin
nchandra.org10-Oct-09 14:01
nchandra.org10-Oct-09 14:01 
QuestionRefresh PropertyGrid on control resize? Pin
xJorDyx10-Oct-09 12:12
xJorDyx10-Oct-09 12:12 
AnswerRe: Refresh PropertyGrid on control resize? Pin
Mycroft Holmes10-Oct-09 12:32
professionalMycroft Holmes10-Oct-09 12:32 
AnswerRe: Refresh PropertyGrid on control resize? Pin
Henry Minute10-Oct-09 12:34
Henry Minute10-Oct-09 12:34 

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.