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

C#

 
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 
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 
Ranjan Banerji wrote:
Two things to try. First of all in your solution, do you have the exe set as startup or DLL as startup and then asking the DLL to run the exe? If the latter then you need to switch to the former. I think.

Exe is startup and calls the DLL.

Ranjan Banerji wrote:
Also what is the syntax you are using to get the value in the config file? Can you put a break point and see what is coming through?

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

// It picks up false here, eventhough I set 1(true) in the config.<br />
if(DebugSwitch.Enabled) <br />
{<br />
...<br />
}


Ranjan Banerji wrote:
it just might mean you are not picking up the value from the config file at all. Try looping through all values in the config file.

I think so. It's just only switch I am testing.

Do I have to keep this config file in the Build Action for the project?

I am running VS.NET 2002.

Don't Beer | [beer] and drive.
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 
GeneralRe: Copy protection via internet Pin
Bog28-May-03 9:11
Bog28-May-03 9:11 
GeneralRe: Copy protection via internet Pin
Ray Cassick28-May-03 9:20
Ray Cassick28-May-03 9:20 

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.