I'm trying out the Run As Service AX as a possible OEM solution. The application has a user interface and I've attempted to set up things per the demos. I am able to get the application to run as a service with no problem running under a system local account. However, whenever I log out of the current account which is showing the application form, the form receives a Form Close event and this kills the service -- when I log on again the service is stopped. I've tried to Cancel the close in the C# Form_Closing event, but that prevents the logoff from taking place at all.
I've used a very old ServiceMill Active-x control in the past so am familiar with the techniques. I figure I must be missing something simple or this should work as it did for that control. With the ServiceMill control, I simply "hid" the form and allowed the remaining close action to take place. That dosen't seem to work here, the service is still stopped.
Any suggestions. I need to solve this before I can buy the product for the OEM solution.