Click here to Skip to main content
15,891,946 members
Home / Discussions / C#
   

C#

 
GeneralRe: Case select versus IF Statement Pin
Robert.C.Cartaino17-Nov-08 6:54
Robert.C.Cartaino17-Nov-08 6:54 
AnswerRe: Case select versus IF Statement Pin
Guffa17-Nov-08 6:29
Guffa17-Nov-08 6:29 
GeneralRe: Case select versus IF Statement Pin
#realJSOP17-Nov-08 11:03
mve#realJSOP17-Nov-08 11:03 
GeneralRe: Case select versus IF Statement Pin
Guffa17-Nov-08 13:09
Guffa17-Nov-08 13:09 
GeneralRe: Case select versus IF Statement Pin
Luc Pattyn17-Nov-08 15:29
sitebuilderLuc Pattyn17-Nov-08 15:29 
QuestionWhat is this friggin .config file? Pin
Dewald17-Nov-08 4:34
Dewald17-Nov-08 4:34 
AnswerRe: What is this friggin .config file? Pin
led mike17-Nov-08 4:46
led mike17-Nov-08 4:46 
GeneralRe: What is this friggin .config file? Pin
Dewald17-Nov-08 21:05
Dewald17-Nov-08 21:05 
OK thanks. I guess I should have found it myself D'Oh! | :doh:

It still doesn't answer my questions though. And also it does not match what I'm experiencing here. According to the article the config file will be named MyApp.exe.config and that is what used to be the case when I used VS2005 but now that I'm using VS2008 the name is MyApp.config which clashes with my own config file that I've always used.

Moreover, even if the file isn't present (and I still don't know when to expect to see the file and when not), a call to AppDomain.CurrentDomain.SetupInformation.ConfigurationFile reveals that the name is MyApp.config and not MyApp.exe.config. What gives?

I've seen that you can add an "Application Configuration File" to your project but I have not done this. Even so, if I have my own MyApp.config file in the application directory the program crashes when I try to access a DB or TCP socket. Other applications in which I don't access DB's or sockets couldn't care less whether there is a file called MyApp.config or not.
GeneralRe: What is this friggin .config file? Pin
led mike18-Nov-08 6:05
led mike18-Nov-08 6:05 
GeneralRe: What is this friggin .config file? Pin
Dewald18-Nov-08 22:03
Dewald18-Nov-08 22:03 
GeneralRe: What is this friggin .config file? Pin
led mike19-Nov-08 5:31
led mike19-Nov-08 5:31 
GeneralRe: What is this friggin .config file? Pin
Dewald19-Nov-08 6:00
Dewald19-Nov-08 6:00 
Questionefficient Pin
dole.doug17-Nov-08 4:05
dole.doug17-Nov-08 4:05 
AnswerRe: efficient Pin
Pr@teek B@h!17-Nov-08 4:11
Pr@teek B@h!17-Nov-08 4:11 
GeneralRe: efficient Pin
dole.doug17-Nov-08 5:07
dole.doug17-Nov-08 5:07 
AnswerRe: efficient Pin
Ennis Ray Lynch, Jr.17-Nov-08 5:04
Ennis Ray Lynch, Jr.17-Nov-08 5:04 
AnswerRe: efficient Pin
Alan Balkany18-Nov-08 3:39
Alan Balkany18-Nov-08 3:39 
QuestionHTTP POST problem Pin
gr9fci17-Nov-08 3:40
gr9fci17-Nov-08 3:40 
AnswerRe: HTTP POST problem Pin
leppie17-Nov-08 20:29
leppie17-Nov-08 20:29 
AnswerRe: HTTP POST problem Pin
leppie17-Nov-08 20:31
leppie17-Nov-08 20:31 
QuestionCreating a new WinForms .Net component (question from new comer) Pin
Ahmed Charfeddine17-Nov-08 2:55
Ahmed Charfeddine17-Nov-08 2:55 
Question.NET Runtime 2.0 Error Reporting Pin
jam198217-Nov-08 2:33
jam198217-Nov-08 2:33 
AnswerRe: .NET Runtime 2.0 Error Reporting Pin
sph3rex17-Nov-08 2:48
sph3rex17-Nov-08 2:48 
GeneralRe: .NET Runtime 2.0 Error Reporting Pin
jam198217-Nov-08 3:38
jam198217-Nov-08 3:38 
QuestionAbout binding files to an C# window application Pin
dilshan_02017-Nov-08 2:21
dilshan_02017-Nov-08 2:21 

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.