Click here to Skip to main content
15,905,563 members
Home / Discussions / C#
   

C#

 
QuestionIs it possible to catch SystemEvent in Windows service? Pin
EnkelIk16-Oct-03 5:09
EnkelIk16-Oct-03 5:09 
AnswerRe: Is it possible to catch SystemEvent in Windows service? Pin
ankita patel16-Oct-03 12:22
ankita patel16-Oct-03 12:22 
GeneralC# -> Remoting and MarshalByValue Pin
Alsvha16-Oct-03 3:36
Alsvha16-Oct-03 3:36 
GeneralRe: C# -> Remoting and MarshalByValue Pin
Guillermo Rivero16-Oct-03 7:59
Guillermo Rivero16-Oct-03 7:59 
GeneralRe: C# -> Remoting and MarshalByValue Pin
Alsvha16-Oct-03 19:12
Alsvha16-Oct-03 19:12 
GeneralRe: C# -> Remoting and MarshalByValue Pin
Guillermo Rivero17-Oct-03 3:24
Guillermo Rivero17-Oct-03 3:24 
Generalapp.config / web.config Pin
Colin Angus Mackay16-Oct-03 2:36
Colin Angus Mackay16-Oct-03 2:36 
GeneralRe: app.config / web.config Pin
Ranjan Banerji16-Oct-03 4:23
Ranjan Banerji16-Oct-03 4:23 
We had the same problem and the way we addressed it was by creating config files for each known machine that we were going to deploy to. So in the project there is app.config, app.config.machine1 etc. When moving the application to the known machines we simply rename app.config.machine to app.config. Definitely not the most elegant way, but since we have known machines to which we deploy its not too much of a pain.

Alternatively, depending on the nature of data in the config file, you could write into your deployment application something that will alter your config files, by either prompting the user for information or getting the information from the machine.
GeneralListviews - Accessing SelectedItemArray Pin
MrEyes16-Oct-03 0:38
MrEyes16-Oct-03 0:38 
GeneralRe: Listviews - Accessing SelectedItemArray Pin
Mike Dimmick16-Oct-03 5:24
Mike Dimmick16-Oct-03 5:24 
GeneralRe: Listviews - Accessing SelectedItemArray Pin
Darryl Borden17-Oct-03 3:32
Darryl Borden17-Oct-03 3:32 
General2 different programing languages in one piece of code Pin
zukhanye15-Oct-03 23:10
zukhanye15-Oct-03 23:10 
GeneralRe: 2 different programing languages in one piece of code Pin
Heath Stewart16-Oct-03 9:04
protectorHeath Stewart16-Oct-03 9:04 
GeneralProblem with Mdi forms Pin
CristianRicciolo15-Oct-03 23:05
CristianRicciolo15-Oct-03 23:05 
GeneralUsing custom cursors on a form. Pin
Randhir Sinha15-Oct-03 21:41
Randhir Sinha15-Oct-03 21:41 
GeneralToolbar Pin
Srikar Y15-Oct-03 19:12
Srikar Y15-Oct-03 19:12 
GeneralRe: Toolbar Pin
Heath Stewart16-Oct-03 9:10
protectorHeath Stewart16-Oct-03 9:10 
GeneralDesign Question Pin
J. Dunlap15-Oct-03 18:44
J. Dunlap15-Oct-03 18:44 
GeneralRe: Design Question Pin
J. Dunlap15-Oct-03 20:42
J. Dunlap15-Oct-03 20:42 
GeneralIPC Communication Pin
vikramlinux15-Oct-03 18:23
vikramlinux15-Oct-03 18:23 
GeneralRe: IPC Communication Pin
Heath Stewart16-Oct-03 9:17
protectorHeath Stewart16-Oct-03 9:17 
GeneralRe: IPC Communication Pin
vikramlinux16-Oct-03 17:47
vikramlinux16-Oct-03 17:47 
GeneralRe: IPC Communication Pin
Heath Stewart17-Oct-03 3:11
protectorHeath Stewart17-Oct-03 3:11 
GeneralRequesting a Web page. Pin
fadee15-Oct-03 18:14
fadee15-Oct-03 18:14 
GeneralRe: Requesting a Web page. Pin
Heath Stewart16-Oct-03 9:16
protectorHeath Stewart16-Oct-03 9:16 

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.