Click here to Skip to main content
16,004,836 members
Home / Discussions / C#
   

C#

 
GeneralRe: atSMS and C# Pin
jabbasabba10-Jun-07 13:17
jabbasabba10-Jun-07 13:17 
QuestionConfiguration Question Pin
Justin Perez9-Jun-07 6:40
Justin Perez9-Jun-07 6:40 
AnswerRe: Configuration Question Pin
karle9-Jun-07 6:45
karle9-Jun-07 6:45 
GeneralRe: Configuration Question Pin
Justin Perez9-Jun-07 6:49
Justin Perez9-Jun-07 6:49 
GeneralRe: Configuration Question Pin
karle9-Jun-07 6:51
karle9-Jun-07 6:51 
GeneralRe: Configuration Question Pin
Justin Perez9-Jun-07 6:52
Justin Perez9-Jun-07 6:52 
GeneralRe: Configuration Question Pin
Justin Perez9-Jun-07 6:57
Justin Perez9-Jun-07 6:57 
GeneralRe: Configuration Question Pin
karle9-Jun-07 7:17
karle9-Jun-07 7:17 
It's not easy !
I think "System.AppDomain.CurrentDomain.BaseDirectory" is better
because when your assembly be in a sandbox it would work properly.

The directory of the executing assembly may defer form the location of your assembly.

So it depends on how your assemblies are designed...

For the standard configuration both will return the same.

.NET 2.0 has a powerfull way to handle configurations so that
it works with a Forms application and a ASP.NET application.

Take a look at:
System.Configuration.ConfigurationManager
To use this class you have to set a reference to "System.Configuration".





QuestionConstructor Pin
imran_Shaikh9-Jun-07 6:01
imran_Shaikh9-Jun-07 6:01 
AnswerRe: Constructor Pin
Colin Angus Mackay9-Jun-07 6:16
Colin Angus Mackay9-Jun-07 6:16 
AnswerRe: Constructor Pin
turbochimp9-Jun-07 6:19
turbochimp9-Jun-07 6:19 
QuestionVisual C# database? Pin
scandysmyle9-Jun-07 1:47
scandysmyle9-Jun-07 1:47 
AnswerRe: Visual C# database? Pin
Colin Angus Mackay9-Jun-07 3:02
Colin Angus Mackay9-Jun-07 3:02 
GeneralRe: Visual C# database? Pin
scandysmyle18-Jun-07 10:09
scandysmyle18-Jun-07 10:09 
AnswerRe: Visual C# database? Pin
Muammar©9-Jun-07 3:22
Muammar©9-Jun-07 3:22 
GeneralRe: Visual C# database? Pin
Paul Conrad9-Jun-07 4:55
professionalPaul Conrad9-Jun-07 4:55 
GeneralRe: Visual C# database? Pin
Muammar©9-Jun-07 6:45
Muammar©9-Jun-07 6:45 
GeneralRe: Visual C# database? Pin
Paul Conrad9-Jun-07 11:01
professionalPaul Conrad9-Jun-07 11:01 
GeneralRe: Visual C# database? Pin
Muammar©9-Jun-07 21:49
Muammar©9-Jun-07 21:49 
GeneralRe: Visual C# database? Pin
scandysmyle18-Jun-07 10:16
scandysmyle18-Jun-07 10:16 
QuestionHow to consume the web service if only WSDL file is exposed. Pin
AmarjeetSinghMatharu8-Jun-07 23:43
AmarjeetSinghMatharu8-Jun-07 23:43 
QuestionPoint in Polygon? Pin
Don Rolando8-Jun-07 23:35
Don Rolando8-Jun-07 23:35 
AnswerRe: Point in Polygon? Pin
Christian Graus8-Jun-07 23:46
protectorChristian Graus8-Jun-07 23:46 
GeneralRe: Point in Polygon? Pin
Don Rolando9-Jun-07 0:15
Don Rolando9-Jun-07 0:15 
AnswerRe: Point in Polygon? Pin
AikinX9-Jun-07 0:20
AikinX9-Jun-07 0: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.