473,379 Members | 1,283 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Help!! Windows service question.

Not sure if this is the right spot for this, but I
couldn't find any other logical place.

I have a service that installs and runs fine.

In the properties dialog of the service, on the General
Tab, I enter a path and filename that is passed to the
args parameter of the services OnStart method. This
works fine, but the properties dialog refuses to save the
data in the Start parameters field. The Apply button
never enables.

What do I need to do to get this to stick?

Thx

Kurt
Nov 20 '05 #1
1 856
"Kurt Skaronea" <an*******@discussions.microsoft.com> wrote in message
news:10*****************************@phx.gbl...
.. . .
In the properties dialog of the service, on the General Tab,


IIRC, this field is only used for starting the service Manually.

If you want to use these arguments for when the Service is started
Automatically, you'll have to install the service differently (effectively
"hard-coding" them so the Service Controller knows about them) or
move them into a configuration file of some sort that the Service reads
on startup.

HTH,
Phill W.
Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Shawn Buchanan-Cook | last post by:
Hello, I have created a windows service that executes a application (that has a user interface), and therefore I have the "Allow service to interact with desktop" checked... I have found that...
3
by: Nathan Kovac | last post by:
I have a feeling I am missing something simple, but I just can't find it. Perhaps someone can give me a lead on where to look. I will describe the issue then post my code to the web service. My...
1
by: vul | last post by:
I created Windows Service in VB.Net with the name MSFaxListener. It should listen Windows Fax Service events and update SQL Server database when fax job changes it's status. In order to do that in...
0
by: lcifers | last post by:
As mentioned in my earlier post regarding creating an application object from a Windows service, I have a Windows app that I'm migrating to a Windows service. This is the first time I have written...
0
by: rodchar | last post by:
hey all, i'm doing a simple walkthrough article on windows services and am having a problem. i have a virtual pc i'm working on which has an smtp server that i easily tested and works. well,...
4
by: ggillard | last post by:
Hi, I'm new to writing services and found it pretty easy using VB.NET. My service has an internal timer that fires every 3 seconds. Each time it fires it opens a SQL DB and looks for a...
5
by: Tom | last post by:
Using multiple System.Timers.Timer objects in a Windows Service for performing multi-thread activities in a periodic fashion. Timers are AutoReset=false, to only have a single timer execution...
4
by: Gordon | last post by:
Hi; I have developed a VB.net app in a module that queries a database, loads the data into several arrays and then loops through the array. It then compares time data stored in the array with...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.