How to pass commands to Windows Service

  • Thread starter Thread starter JensB
  • Start date Start date
J

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top