|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to pass commands to Windows ServiceI made a Windows Service in VS 2005, that every hour replicate data between
2 Access databases on 2 different servers. This work well on my developer machine, as the connection string and path to database is hardcoded in the code. I want to deploy this to my customers. My question is, how should my code look like, if these settings should be set, either during installation of the service or even better as property? Thanks in advance Jens
http://www.kjmsolutions.com/xmlsettings.htm
--
Show quote
Hide quote
Get a powerful web, database, application, and email hosting with KJM Solutions http://www.kjmsolutions.com "JensB" <JensB@newsgroup.nospam> wrote in message
news:%233ajf6YeGHA.2456@TK2MSFTNGP04.phx.gbl... >I made a Windows Service in VS 2005, that every hour replicate data >between 2 Access databases on 2 different servers. > This work well on my developer machine, as the connection string and path > to database is hardcoded in the code. > > I want to deploy this to my customers. > My question is, how should my code look like, if these settings should be > set, either during installation of the service or even better as property? > > Thanks in advance > Jens > |
|||||||||||||||||||||||