Click here to Skip to main content
15,916,835 members
Home / Discussions / C#
   

C#

 
QuestionCreating Excel chart using reflection Pin
dan!sh 8-Jan-09 3:35
professional dan!sh 8-Jan-09 3:35 
AnswerRe: Creating Excel chart using reflection Pin
moon_stick8-Jan-09 3:41
moon_stick8-Jan-09 3:41 
GeneralRe: Creating Excel chart using reflection Pin
dan!sh 8-Jan-09 3:44
professional dan!sh 8-Jan-09 3:44 
GeneralRe: Creating Excel chart using reflection Pin
moon_stick8-Jan-09 3:46
moon_stick8-Jan-09 3:46 
GeneralRe: Creating Excel chart using reflection Pin
dan!sh 8-Jan-09 3:54
professional dan!sh 8-Jan-09 3:54 
AnswerRe: Creating Excel chart using reflection Pin
Simon P Stevens8-Jan-09 3:51
Simon P Stevens8-Jan-09 3:51 
GeneralRe: Creating Excel chart using reflection Pin
dan!sh 8-Jan-09 3:56
professional dan!sh 8-Jan-09 3:56 
Questionavoid app.config cut and paste? Pin
devvvy8-Jan-09 2:54
devvvy8-Jan-09 2:54 
lets say i have a dll which relies on nhibernate or log4net. And within this dll there're calls which references these external library (nhibernate/log4net .. etc).

To be specific, and as an example I may have a dll (say it will be referenced by a ASPNET app AND a Winform App) and its app.config file look like this:


<configuration>
<configsections>
<sectiongroup name="spring">
<section name="context">
type ="Spring.Context.Support.ContextHandler, Spring.Core"/&gt;
<section name="objects">
type="Spring.Context.Support.DefaultSectionHandler, Spring.Core" /&gt;
</section></section></sectiongroup>
<section name="nhibernate">
type="System.Configuration.NameValueSectionHandler, System,
Version=1.0.5000.0,Culture=neutral,
PublicKeyToken=b77a5c561934e089" /&gt;
<section name="log4net">
type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" /&gt;
</section></section></configsections>
<spring>
<context><resource uri="config://spring/objects" /></context>
<objects>

</objects>
</spring>
<nhibernate>
... nhibernate config ...
</nhibernate>

<log4net>
... log4net config ...
</log4net>
</configuration>

I want avoid having to copy app.config setting from my DLL when I reference my DLL from a console app this time, then next time to a ASPNET or WebService. Each time having to merge/cut/paste app.config (from Dll) seems like a waste of time.

Thanks

dev
AnswerRe: avoid app.config cut and paste? Pin
Colin Angus Mackay8-Jan-09 3:11
Colin Angus Mackay8-Jan-09 3:11 
GeneralRe: avoid app.config cut and paste? Pin
devvvy8-Jan-09 3:24
devvvy8-Jan-09 3:24 
Question[Message Deleted] Pin
Cracked-Down8-Jan-09 2:45
Cracked-Down8-Jan-09 2:45 
AnswerRe: how to bind to the multiple versions of applications installed on the same machine??? Pin
Wendelius8-Jan-09 3:23
mentorWendelius8-Jan-09 3:23 
General[Message Deleted] Pin
Cracked-Down8-Jan-09 3:47
Cracked-Down8-Jan-09 3:47 
GeneralRe: how to bind to the multiple versions of applications installed on the same machine??? Pin
Wendelius8-Jan-09 4:38
mentorWendelius8-Jan-09 4:38 
General[Message Deleted] Pin
Cracked-Down8-Jan-09 17:45
Cracked-Down8-Jan-09 17:45 
GeneralRe: how to bind to the multiple versions of applications installed on the same machine??? Pin
Wendelius8-Jan-09 23:52
mentorWendelius8-Jan-09 23:52 
General[Message Deleted] Pin
Cracked-Down9-Jan-09 0:01
Cracked-Down9-Jan-09 0:01 
GeneralRe: how to bind to the multiple versions of applications installed on the same machine??? Pin
Wendelius9-Jan-09 2:31
mentorWendelius9-Jan-09 2:31 
QuestionData Grid Column Order Problem [modified] Pin
Vanq20098-Jan-09 2:13
Vanq20098-Jan-09 2:13 
QuestionHow to Plug in TortoiseSVN in VS2005 both C# and C++ Pin
Gopal_Kanchana8-Jan-09 2:10
Gopal_Kanchana8-Jan-09 2:10 
AnswerRe: How to Plug in TortoiseSVN in VS2005 both C# and C++ Pin
Colin Angus Mackay8-Jan-09 2:23
Colin Angus Mackay8-Jan-09 2:23 
QuestionCan I call Paint event from reguler events to make changes through GDI. Pin
Naveed7278-Jan-09 1:32
Naveed7278-Jan-09 1:32 
AnswerRe: Can I call Paint event from reguler events to make changes through GDI. Pin
musefan8-Jan-09 2:05
musefan8-Jan-09 2:05 
QuestionWhy C# doesn't have macro like C++ Pin
Gopal_Kanchana8-Jan-09 0:53
Gopal_Kanchana8-Jan-09 0:53 
AnswerRe: Why C# doesn't have macro like C++ Pin
DaveyM698-Jan-09 0:57
professionalDaveyM698-Jan-09 0:57 

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.