Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
GeneralRe: Up, Down, Left. Right in DataGrid can not be trapped Pin
Rocky Moore28-May-03 22:03
Rocky Moore28-May-03 22:03 
QuestionHow do I know the Width & Height of physical screen Pin
JeffSayHi28-May-03 16:45
JeffSayHi28-May-03 16:45 
AnswerRe: How do I know the Width & Height of physical screen Pin
Mazdak28-May-03 19:09
Mazdak28-May-03 19:09 
GeneralRe: How do I know the Width & Height of physical screen Pin
JeffSayHi28-May-03 20:30
JeffSayHi28-May-03 20:30 
GeneralRe: How do I know the Width & Height of physical screen Pin
Nick Parker29-May-03 3:05
protectorNick Parker29-May-03 3:05 
GeneralConfig files Pin
Kant28-May-03 11:47
Kant28-May-03 11:47 
GeneralRe: Config files Pin
Ranjan Banerji29-May-03 3:54
Ranjan Banerji29-May-03 3:54 
GeneralRe: Config files Pin
Kant29-May-03 5:57
Kant29-May-03 5:57 
I already did that. And I kept the config file (applicationname.exe.config) in Debug\bin directory along with the EXE and DLL's.

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

Ignore the spaces.

And declared the switch in both EXE and DLL's in their classes.

private static BooleanSwitch DebugSwitch = new BooleanSwitch("MySwitch", "Debug Switch for Trace and Debug.");

Eventhough I enabled the switch in the config, switch is always disabled.

Did I miss any other settings?

Don't Beer | [beer] and drive.
GeneralRe: Config files Pin
Ranjan Banerji29-May-03 7:59
Ranjan Banerji29-May-03 7:59 
GeneralRe: Config files Pin
Kant29-May-03 12:31
Kant29-May-03 12:31 
GeneralUML for C# Pin
Eric Astor28-May-03 11:05
Eric Astor28-May-03 11:05 
GeneralRe: UML for C# Pin
J. Dunlap28-May-03 11:15
J. Dunlap28-May-03 11:15 
GeneralRe: UML for C# Pin
Tomas Petricek28-May-03 13:15
Tomas Petricek28-May-03 13:15 
GeneralRe: UML for C# Pin
KingTermite29-May-03 7:42
KingTermite29-May-03 7:42 
GeneralRe: UML for C# Pin
Anonymous18-Jun-03 9:44
Anonymous18-Jun-03 9:44 
GeneralMystery of the missing line control Pin
RB@Emphasys28-May-03 8:48
RB@Emphasys28-May-03 8:48 
GeneralRe: Mystery of the missing line control Pin
Ray Cassick28-May-03 9:23
Ray Cassick28-May-03 9:23 
GeneralRe: Mystery of the missing line control Pin
Nick Parker28-May-03 17:30
protectorNick Parker28-May-03 17:30 
GeneralRe: Mystery of the missing line control Pin
Anonymous28-May-03 14:15
Anonymous28-May-03 14:15 
GeneralRe: Mystery of the missing line control Pin
Nick Parker28-May-03 17:29
protectorNick Parker28-May-03 17:29 
GeneralRe: Mystery of the missing line control Pin
RB@Emphasys29-May-03 2:54
RB@Emphasys29-May-03 2:54 
GeneralSingleton/static member question... Pin
Ryan Cromwell28-May-03 7:25
Ryan Cromwell28-May-03 7:25 
GeneralRe: Singleton/static member question... Pin
leppie28-May-03 11:10
leppie28-May-03 11:10 
GeneralCopy protection via internet Pin
Bog28-May-03 7:09
Bog28-May-03 7:09 
GeneralRe: Copy protection via internet Pin
Ray Cassick28-May-03 7:16
Ray Cassick28-May-03 7:16 

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.