Click here to Skip to main content
15,902,032 members
Home / Discussions / C#
   

C#

 
QuestionDirection of selection in a TextBox/RichTextBox Pin
mav.northwind29-Jan-07 3:34
mav.northwind29-Jan-07 3:34 
AnswerRe: Direction of selection in a TextBox/RichTextBox Pin
bobsugar22229-Jan-07 3:47
bobsugar22229-Jan-07 3:47 
GeneralRe: Direction of selection in a TextBox/RichTextBox Pin
mav.northwind29-Jan-07 4:20
mav.northwind29-Jan-07 4:20 
GeneralRe: Direction of selection in a TextBox/RichTextBox Pin
bobsugar22229-Jan-07 5:04
bobsugar22229-Jan-07 5:04 
GeneralRe: Direction of selection in a TextBox/RichTextBox Pin
mav.northwind29-Jan-07 6:45
mav.northwind29-Jan-07 6:45 
AnswerRe: Direction of selection in a TextBox/RichTextBox Pin
ednrgc29-Jan-07 3:49
ednrgc29-Jan-07 3:49 
GeneralRe: Direction of selection in a TextBox/RichTextBox Pin
mav.northwind29-Jan-07 4:23
mav.northwind29-Jan-07 4:23 
QuestionSystem.Net.Sockets - Tracing with TraceSource class Pin
wurzel_cidermaker29-Jan-07 3:09
wurzel_cidermaker29-Jan-07 3:09 
If you create a <[yourAppName].exe.config> file like the one below,
you will see extra "socket" debug tracing information.

However when I try to do this programmatically (below),
I don't see any trace info.

<<<
TraceSource ts = new TraceSource("System.Net.Sockets", SourceLevels.Verbose);

ConsoleTraceListener consoleListener = new ConsoleTraceListener();
consoleListener.Name = "console";
ts.Listeners.Add(consoleListener);
>>>

The question is why?

Can it be done programmatically?

Here's the config file that works...


<configuration>
<system.diagnostics>

<sources>

<source name="System.Net.Sockets" switchValue="Verbose">
<listeners>
<add name="console" type="System.Diagnostics.ConsoleTraceListener"> </add>
</listeners>
</source>

</sources>

</system.diagnostics>
</configuration>

AnswerRe: System.Net.Sockets - Tracing with TraceSource class Pin
wurzel_cidermaker30-Jan-07 22:15
wurzel_cidermaker30-Jan-07 22:15 
QuestionCall a javascript function from a Link Button Pin
Bobb198229-Jan-07 3:08
Bobb198229-Jan-07 3:08 
AnswerRe: Call a javascript function from a Link Button Pin
GaryWoodfine 29-Jan-07 3:40
professionalGaryWoodfine 29-Jan-07 3:40 
GeneralRe: Call a javascript function from a Link Button Pin
Bobb198229-Jan-07 18:34
Bobb198229-Jan-07 18:34 
GeneralRe: Call a javascript function from a Link Button Pin
GaryWoodfine 29-Jan-07 22:13
professionalGaryWoodfine 29-Jan-07 22:13 
GeneralRe: Call a javascript function from a Link Button Pin
Bobb198230-Jan-07 1:43
Bobb198230-Jan-07 1:43 
Questioncustom group controls Pin
NoCake29-Jan-07 2:31
NoCake29-Jan-07 2:31 
AnswerRe: custom group controls Pin
bobsugar22229-Jan-07 3:00
bobsugar22229-Jan-07 3:00 
GeneralRe: custom group controls [modified] Pin
NoCake29-Jan-07 4:29
NoCake29-Jan-07 4:29 
QuestionIgnore Warning like in C++ Pin
Roland Bär29-Jan-07 2:06
Roland Bär29-Jan-07 2:06 
AnswerRe: Ignore Warning like in C++ Pin
User 665829-Jan-07 2:11
User 665829-Jan-07 2:11 
GeneralRe: Ignore Warning like in C++ Pin
Roland Bär29-Jan-07 2:44
Roland Bär29-Jan-07 2:44 
GeneralRe: Ignore Warning like in C++ Pin
Guffa29-Jan-07 4:35
Guffa29-Jan-07 4:35 
GeneralRe: Ignore Warning like in C++ Pin
Roland Bär29-Jan-07 4:43
Roland Bär29-Jan-07 4:43 
GeneralRe: Ignore Warning like in C++ Pin
Stefan Troschuetz29-Jan-07 8:28
Stefan Troschuetz29-Jan-07 8:28 
Questionupdated how to create an infinite loop. Pin
Petra29-Jan-07 1:51
Petra29-Jan-07 1:51 
AnswerRe: updated how to create an infinite loop. Pin
User 665829-Jan-07 1:57
User 665829-Jan-07 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.