Click here to Skip to main content
15,917,455 members
Home / Discussions / C#
   

C#

 
GeneralRe: Looking for other controls in design-time Pin
f_popovic12-Dec-03 0:17
f_popovic12-Dec-03 0:17 
GeneralRe: Looking for other controls in design-time Pin
Heath Stewart12-Dec-03 3:50
protectorHeath Stewart12-Dec-03 3:50 
GeneralRe: Looking for other controls in design-time Pin
f_popovic13-Dec-03 23:43
f_popovic13-Dec-03 23:43 
GeneralRe: Looking for other controls in design-time Pin
Heath Stewart14-Dec-03 5:36
protectorHeath Stewart14-Dec-03 5:36 
GeneralRe: Looking for other controls in design-time Pin
f_popovic14-Dec-03 21:33
f_popovic14-Dec-03 21:33 
GeneralApp.Config refresh Pin
RB@Emphasys11-Dec-03 5:10
RB@Emphasys11-Dec-03 5:10 
GeneralRe: App.Config refresh Pin
Guillermo Rivero11-Dec-03 7:17
Guillermo Rivero11-Dec-03 7:17 
GeneralRe: App.Config refresh Pin
Heath Stewart11-Dec-03 10:15
protectorHeath Stewart11-Dec-03 10:15 
Once a process is executed in an AppDomain, the configuration information cannot be changed. If you must do this, you must have a process that creates a new AppDomain to run your primary application, which must also exit when the .config file changes. Your host (the launcher) would watch for changes to the .config file and respawn your application after it exits. This is how ASP.NET works, where the host is the ASP.NET worker process (aspnet_wp.exe).

You are right to think that the AppDomain keeps it "cached" (it's actually a one-time read per section, and each section is cached when its read for the first time). The only way to re-read the section is to spawn a new process in a different AppDomain that reads that .config file again.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralC# HTTP Text Browser Pin
Guiro11-Dec-03 2:10
Guiro11-Dec-03 2:10 
GeneralRe: C# HTTP Text Browser Pin
Heath Stewart11-Dec-03 4:15
protectorHeath Stewart11-Dec-03 4:15 
GeneralRe: C# HTTP Text Browser Pin
Guiro12-Dec-03 2:57
Guiro12-Dec-03 2:57 
GeneralRe: C# HTTP Text Browser Pin
Heath Stewart12-Dec-03 3:51
protectorHeath Stewart12-Dec-03 3:51 
GeneralEnumerating Virtual Folders Pin
DotNetEvangelist11-Dec-03 2:04
DotNetEvangelist11-Dec-03 2:04 
GeneralRe: Enumerating Virtual Folders Pin
totig11-Dec-03 3:23
totig11-Dec-03 3:23 
General.NET IDE c# Pin
Hovel11-Dec-03 0:41
Hovel11-Dec-03 0:41 
GeneralRe: .NET IDE c# Pin
Anonymous11-Dec-03 2:33
Anonymous11-Dec-03 2:33 
GeneralRe: .NET IDE c# Pin
Charlie Williams11-Dec-03 16:11
Charlie Williams11-Dec-03 16:11 
GeneralRe: .NET IDE c# Pin
Philip Fitzsimons11-Dec-03 2:33
Philip Fitzsimons11-Dec-03 2:33 
GeneralRe: .NET IDE c# Pin
Hovel11-Dec-03 2:37
Hovel11-Dec-03 2:37 
GeneralRichTextBox: Get the current text-cursor-position (pixel) Pin
kalwar11-Dec-03 0:34
kalwar11-Dec-03 0:34 
GeneralRe: RichTextBox: Get the current text-cursor-position (pixel) Pin
Heath Stewart11-Dec-03 4:08
protectorHeath Stewart11-Dec-03 4:08 
Questionbutten_click event trigging a method in a different class? Pin
thomasa10-Dec-03 22:51
thomasa10-Dec-03 22:51 
AnswerRe: butten_click event trigging a method in a different class? Pin
Heath Stewart11-Dec-03 3:49
protectorHeath Stewart11-Dec-03 3:49 
Generaldisplay word file on form Pin
hazzem elrefai10-Dec-03 22:33
hazzem elrefai10-Dec-03 22:33 
GeneralRe: display word file on form Pin
Stephane Rodriguez.10-Dec-03 23:05
Stephane Rodriguez.10-Dec-03 23:05 

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.