Click here to Skip to main content
16,007,687 members
Home / Discussions / C#
   

C#

 
GeneralRe: Static libraries and C# Pin
Eric Gunnerson (msft)12-Dec-03 13:31
Eric Gunnerson (msft)12-Dec-03 13:31 
Generalshow form from worker thread Pin
Alastair Stell11-Dec-03 19:34
Alastair Stell11-Dec-03 19:34 
GeneralRe: show form from worker thread Pin
Corinna John11-Dec-03 19:40
Corinna John11-Dec-03 19:40 
GeneralRe: show form from worker thread Pin
Alastair Stell11-Dec-03 19:46
Alastair Stell11-Dec-03 19:46 
GeneralRe: show form from worker thread Pin
Alastair Stell11-Dec-03 19:47
Alastair Stell11-Dec-03 19:47 
GeneralRe: show form from worker thread Pin
Corinna John11-Dec-03 21:35
Corinna John11-Dec-03 21:35 
QuestionHow to displaying User Options in a Windows Service Pin
john ingram11-Dec-03 11:56
john ingram11-Dec-03 11:56 
AnswerRe: How to displaying User Options in a Windows Service Pin
Heath Stewart11-Dec-03 12:01
protectorHeath Stewart11-Dec-03 12:01 
As you said, you can provide command line arguments in the Services control panel / snap-in.

If you need to configure the options in a different way, you could use a Windows Forms application that either uses registry settings or writes on a .config file (or other configuration file) for the service. You can use the ServiceController class to start, stop, or pause the service programmatically then.

If you want to configure the options while the service is running, you need to use the ServiceController.ExecuteCommand to pass a command identifier. If you need to change more complex options, you can use .NET Remoting over a TCP or HTTP channel.

 

-----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-----
Questionhow do I add a Footer to a datagrid (windows forms) Pin
mdolby11-Dec-03 11:25
mdolby11-Dec-03 11:25 
AnswerRe: how do I add a Footer to a datagrid (windows forms) Pin
Heath Stewart11-Dec-03 11:35
protectorHeath Stewart11-Dec-03 11:35 
GeneralRe: how do I add a Footer to a datagrid (windows forms) Pin
john ingram12-Dec-03 2:23
john ingram12-Dec-03 2:23 
Generalassembly versioning Pin
Dave Bryant11-Dec-03 11:05
Dave Bryant11-Dec-03 11:05 
GeneralRe: assembly versioning Pin
Heath Stewart11-Dec-03 11:31
protectorHeath Stewart11-Dec-03 11:31 
GeneralListView problem Pin
datainjector11-Dec-03 10:44
datainjector11-Dec-03 10:44 
GeneralRe: ListView problem Pin
Heath Stewart11-Dec-03 11:39
protectorHeath Stewart11-Dec-03 11:39 
GeneralRe: ListView problem Pin
datainjector12-Dec-03 7:52
datainjector12-Dec-03 7:52 
GeneralRe: ListView problem Pin
Heath Stewart12-Dec-03 8:36
protectorHeath Stewart12-Dec-03 8:36 
GeneralUsing Dropdownlist in Datagrid Pin
t_m2002052111-Dec-03 9:29
t_m2002052111-Dec-03 9:29 
GeneralRe: Using Dropdownlist in Datagrid Pin
Heath Stewart11-Dec-03 10:35
protectorHeath Stewart11-Dec-03 10:35 
GeneralComboBox DropDown Pin
Shaun Becker11-Dec-03 7:32
Shaun Becker11-Dec-03 7:32 
GeneralRe: ComboBox DropDown Pin
Not Active11-Dec-03 7:58
mentorNot Active11-Dec-03 7:58 
GeneralRe: ComboBox DropDown Pin
Shaun Becker11-Dec-03 8:23
Shaun Becker11-Dec-03 8:23 
GeneralRe: ComboBox DropDown Pin
Heath Stewart11-Dec-03 10:31
protectorHeath Stewart11-Dec-03 10:31 
GeneralLooking for other controls in design-time Pin
f_popovic11-Dec-03 6:34
f_popovic11-Dec-03 6:34 
GeneralRe: Looking for other controls in design-time Pin
Heath Stewart11-Dec-03 10:23
protectorHeath Stewart11-Dec-03 10:23 

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.