I recently created a typical windows application project in VB .NET. It has a main form and a tray icon. I would like to give some end users the ability to install this application as a windows service.
The application's main purpose is to monitor XML messages and make changes to a SQL server database. The main form is an essential part of the application because it will be used to monitor events.
I did some research and found tons of information about creating a windows service project in VB .NET, but they don't seem to have the ability to use windows forms or any real user interface controls.
I was wondering if and how I could install this application as a windows service without using SRVANY. I tried adding a ServiceInstaller and ServiceProcessInstaller control to the main form and configured my installer as if this were a windows service project, but it did not work.
Any ideas?
The application's main purpose is to monitor XML messages and make changes to a SQL server database. The main form is an essential part of the application because it will be used to monitor events.
I did some research and found tons of information about creating a windows service project in VB .NET, but they don't seem to have the ability to use windows forms or any real user interface controls.
I was wondering if and how I could install this application as a windows service without using SRVANY. I tried adding a ServiceInstaller and ServiceProcessInstaller control to the main form and configured my installer as if this were a windows service project, but it did not work.
Any ideas?