How To? Create a win service that will open some forms

corpse

New member
Joined
Jun 6, 2005
Messages
3
Programming Experience
5-10
I'm trying to create a windows service in vb.net that will let me open a
form up from it's system tray icon (or just keep the form open while the service is running) - and I'm having all sorts of problems..

I have my service set to "interact with desktop", I can successfully display
a msgbox, but can't open a form.. when I try to New a form and show it, it
causes the service to hang while it's trying to be started.

At this point, I would prefer not to get into the "services shouldn't have
forms" stuff - but the forms are pretty involved (for monitoring of a timed
activity), and I dont' want to change how everythng is done.. I already have the entire application done and working, I just now want to "wrap" it as a service (or have a service that will show my monitoring form).

thanks
 
Back
Top