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

C#

 
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 
GeneralRe: Config files Pin
Ranjan Banerji29-May-03 7:59
Ranjan Banerji29-May-03 7:59 
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.

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? Maybe its not even picking up your config. Since you said you put the code in both the DLL and the exe, and that it is always coming disabled, 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. If you get something then it means that the config file is being accessed, just not your switch. Try to get it to work with the exe and then move to the DLL.

OK hang on. Something very strange happened. I just upgraded to VS .Net 2003. I was looking into my sample code to see if there was anything more I had to tell you. I ran my sample and somehow my config file vanished. It was there and now its not. Go figure. Let me reset it and get back to you. Damn!!!!

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 
GeneralRe: Copy protection via internet Pin
Bog28-May-03 9:11
Bog28-May-03 9:11 

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.