Click here to Skip to main content
15,887,596 members
Home / Discussions / C#
   

C#

 
GeneralRe: Reflection Pin
Yoyosch31-Aug-05 11:46
Yoyosch31-Aug-05 11:46 
GeneralRe: Reflection Pin
Andy Brummer31-Aug-05 11:57
sitebuilderAndy Brummer31-Aug-05 11:57 
GeneralRe: Reflection Pin
Yoyosch31-Aug-05 12:02
Yoyosch31-Aug-05 12:02 
QuestionRe: Reflection Pin
Yoyosch31-Aug-05 12:38
Yoyosch31-Aug-05 12:38 
AnswerRe: Reflection Pin
Werdna31-Aug-05 13:50
Werdna31-Aug-05 13:50 
GeneralRe: Reflection Pin
Yoyosch31-Aug-05 14:15
Yoyosch31-Aug-05 14:15 
AnswerRe: Reflection Pin
Andy Brummer31-Aug-05 18:01
sitebuilderAndy Brummer31-Aug-05 18:01 
QuestionWindows Service arguments Pin
vSoares31-Aug-05 7:01
professionalvSoares31-Aug-05 7:01 
Hi all,

I've built a Windows Service wich accepts arguments in the main function so I can execute the exe like <code>MyWindowsServ.exe –install</code>.

I can install the service, I can run it, and everything runs ok.

Now, what I wanted to do was to install the service so when it starts it can take some arguments as well.

If you look at the COM+ Event System service properties (for instance) in your control panel, you can see that the path to executable is something like this <code>C:\WINDOWS\system32\svchost.exe -k netsvcs</code>

Is there a way I can add these arguments to my ProcessInstaller or ServiceInstaller or something like that?

Thanks,

<i>vSoares</i>
AnswerRe: Windows Service arguments Pin
Mohamad Al Husseiny31-Aug-05 7:18
Mohamad Al Husseiny31-Aug-05 7:18 
QuestionOld C New C# Pin
buggity31-Aug-05 5:51
buggity31-Aug-05 5:51 
AnswerRe: Old C New C# Pin
Mohamad Al Husseiny31-Aug-05 6:17
Mohamad Al Husseiny31-Aug-05 6:17 
Questionmethod Pin
HFreitas31-Aug-05 5:30
HFreitas31-Aug-05 5:30 
AnswerRe: method Pin
Yoyosch31-Aug-05 6:01
Yoyosch31-Aug-05 6:01 
AnswerRe: method Pin
Judah Gabriel Himango31-Aug-05 6:23
sponsorJudah Gabriel Himango31-Aug-05 6:23 
AnswerRe: method Pin
Mohamad Al Husseiny31-Aug-05 6:26
Mohamad Al Husseiny31-Aug-05 6:26 
AnswerRe: method Pin
Guffa31-Aug-05 7:50
Guffa31-Aug-05 7:50 
QuestionUpdating Datagrid Cell Value Pin
Member 156189431-Aug-05 5:20
Member 156189431-Aug-05 5:20 
AnswerRe: Updating Datagrid Cell Value Pin
Alomgir Miah31-Aug-05 6:58
Alomgir Miah31-Aug-05 6:58 
GeneralRe: Updating Datagrid Cell Value Pin
wiseylondon31-Aug-05 22:20
susswiseylondon31-Aug-05 22:20 
GeneralRe: Updating Datagrid Cell Value Pin
mav.northwind31-Aug-05 22:56
mav.northwind31-Aug-05 22:56 
GeneralRe: Updating Datagrid Cell Value Pin
wiseylondon1-Sep-05 0:02
susswiseylondon1-Sep-05 0:02 
Questionc++ codeparser Pin
profoundwhispers31-Aug-05 5:00
profoundwhispers31-Aug-05 5:00 
AnswerRe: c++ codeparser Pin
Alomgir Miah31-Aug-05 6:59
Alomgir Miah31-Aug-05 6:59 
AnswerRe: c++ codeparser Pin
S. Senthil Kumar31-Aug-05 7:48
S. Senthil Kumar31-Aug-05 7:48 
AnswerRe: c++ codeparser Pin
VickyC#3-Sep-05 10:29
VickyC#3-Sep-05 10:29 

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.