Hi Eric,
I found that this post had been posted in several groups.
A member of our team has replied your question in
microsoft.public.dotnet.general
He will follow up you there.
Thanks for you understanding.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| From: "Eric Chong" <
[email protected]>
| Sender: "Eric Chong" <
[email protected]>
| Subject: How to pass a start parameters to Windows Service
| Date: Fri, 5 Sep 2003 11:12:02 -0700
| Lines: 9
| Message-ID: <
[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcNz2TR6u0M+7LjdQrSdpKUorgvuVg==
| Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:19222
| NNTP-Posting-Host: TK2MSFTNGXA09 10.40.1.161
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
|
| I created a Windows Service in C# that requires to get
| passed command arguments like a Console App. I noticed
| that there is an option "Start parameters" text box in
| the property of a Windows Service in MMC. Is there any
| way to get arguments using this option? If possible, what
| framework method should I use to get an arguement?
| Thanks in advance.
|
| Eric
|