window service application

  • Thread starter Thread starter scarred wind
  • Start date Start date
S

scarred wind

I'm currently doing a window service application in C#.
I'm using a simple timer to run everytime i boot up the PC. the timer is
running well, but the problem is, i can't register it in my Services
from the Administrative Tools >> Services.

how do I convert my Windows Application into a Window Services?
 
hi
windows application is something totally different from windows services
you have to create your application as windows service not a windows
application . you should select a windows service project while creating a
new project ( not a windows application ) you should also add a service
installer class to your service project
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 
Another problem is Timer (under Windows Forms) in windows application won't
work in windows service. You should use the one user Components.
 
thank you for the info Mohamoss.

how then do i add a service installer? i can't seemed to find the
installutil.exe. or how to call that .exe file?

thanks again.
 
thank you Hardy, i did that, but my problem is how can i see what my
application would looked like later? and how do i get the
installutil.exe into my application?
 
Back
Top