Click here to Skip to main content
16,013,592 members
Home / Discussions / C#
   

C#

 
GeneralRe: One form inside second Pin
Wizard_0129-Apr-02 9:37
Wizard_0129-Apr-02 9:37 
GeneralRe: One form inside second Pin
James T. Johnson29-Apr-02 9:45
James T. Johnson29-Apr-02 9:45 
GeneralRe: One form inside second Pin
James T. Johnson29-Apr-02 9:44
James T. Johnson29-Apr-02 9:44 
GeneralRe: One form inside second Pin
Neil Van Note29-Apr-02 9:55
Neil Van Note29-Apr-02 9:55 
GeneralAccess to another form! Pin
Mazdak29-Apr-02 4:53
Mazdak29-Apr-02 4:53 
GeneralRe: Access to another form! Pin
Andy Smith29-Apr-02 5:21
Andy Smith29-Apr-02 5:21 
GeneralRe: Access to another form! Pin
Mazdak29-Apr-02 8:41
Mazdak29-Apr-02 8:41 
GeneralProblems with TraceSwitch Pin
Dale Thompson29-Apr-02 4:24
Dale Thompson29-Apr-02 4:24 
I have this program in which I'm adding TraceSwitches to various subsystems. I got it working fine in one subsystem - so I went ahead and added it to other subsystems. When I try to enable with other switched using my config file - the original switch now throws an XML exception (at the first call to WriteLineIf(), not when newing the TraceSwitch ).

Here are my config files:

The one that works:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.diagnostics>
<switches>
<add name="FirstSwitch" value="4" />
</switches>
</system.diagnostics>
</configuration>

The one that blows up:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.diagnostics>
<switches>
<add name="FirstSwitch" value="4" />
<add name="SecondSwitch" value="4" />
<add name="ThirdSwitch" value="4" />
</switches>
</system.diagnostics>
</configuration>

Any ideas what's wrong with the syntax or how to enable multiple switches with a config file?

Thanks

Dale Thompson
GeneralCrystal Reports Pin
Gavin_Mannion29-Apr-02 0:06
Gavin_Mannion29-Apr-02 0:06 
GeneralRe: Crystal Reports Pin
Andy Smith29-Apr-02 5:23
Andy Smith29-Apr-02 5:23 
GeneralRe: Crystal Reports Pin
Gavin_Mannion29-Apr-02 22:22
Gavin_Mannion29-Apr-02 22:22 
GeneralRe: Crystal Reports Pin
Andy Smith30-Apr-02 13:34
Andy Smith30-Apr-02 13:34 
GeneralRe: Crystal Reports Pin
Gavin_Mannion30-Apr-02 22:11
Gavin_Mannion30-Apr-02 22:11 
GeneralZip and Unzip Pin
- Emanuele -28-Apr-02 22:56
- Emanuele -28-Apr-02 22:56 
GeneralRe: Zip and Unzip Pin
AndyG29-Apr-02 4:53
AndyG29-Apr-02 4:53 
GeneralRe: Zip and Unzip Pin
- Emanuele -29-Apr-02 5:52
- Emanuele -29-Apr-02 5:52 
QuestionIs there any sound classes!? Pin
Rickard Andersson2028-Apr-02 21:48
Rickard Andersson2028-Apr-02 21:48 
AnswerRe: Is there any sound classes!? Pin
Neil Van Note28-Apr-02 22:00
Neil Van Note28-Apr-02 22:00 
GeneralRe: Is there any sound classes!? Pin
Rickard Andersson2029-Apr-02 0:53
Rickard Andersson2029-Apr-02 0:53 
GeneralDataGridColumnStyle Pin
Mazdak28-Apr-02 19:40
Mazdak28-Apr-02 19:40 
GeneralRe: DataGridColumnStyle Pin
Mazdak29-Apr-02 2:16
Mazdak29-Apr-02 2:16 
GeneralMSChart Pin
28-Apr-02 12:11
suss28-Apr-02 12:11 
GeneralWeb services and c# Pin
ez228-Apr-02 10:59
ez228-Apr-02 10:59 
GeneralRe: Web services and c# Pin
Nick Parker29-Apr-02 6:47
protectorNick Parker29-Apr-02 6:47 
GeneralRe: Web services and c# Pin
ez229-Apr-02 7:15
ez229-Apr-02 7:15 

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.