Home All Groups Group Topic Archive Search About

How to pass commands to Windows Service

Author
17 May 2006 8:54 AM
JensB
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

Author
17 May 2006 10:37 AM
vbnetdev
http://www.kjmsolutions.com/xmlsettings.htm

--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com



Show quote Hide quote
"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
>