|
-
Oct 30th, 2003, 07:53 AM
#1
Thread Starter
Addicted Member
system service
how can i make my application be a windows service??
but, i still want to see the screen of the application, but when i minimized it, it gets running on system tray as a windows service, so all users could see the application running and use it, but when they log off, the application will be still running.
Thank you,
Guilherme Costa
-
Oct 30th, 2003, 08:39 AM
#2
Addicted Member
A 'service' does not communicate with the user via a UI naturally - if you want to have this level of functionality you could either:
--use remoting to gain access to a 'controller' object published by your service.
--use the command method of the service to pass in integer arguments. Your service could interpret these as actions through a switch/case block.
--use vb6 to write a MMC snap-in for your service. The OCX's are part of the .NET sdk i believe. I have only caught a glimpse of some examples using this, but they are ou there.
...if your current application has a lot of user interaction though i would doubt if it would (or should!) translate to a service easily.
-
Oct 30th, 2003, 08:46 AM
#3
Thread Starter
Addicted Member
yes, it have a loooot of user interaction!
i won't do it like windows service, no way to do that in such little time i have!!
Thanks,
Guilherme Costa
-
Oct 30th, 2003, 08:48 AM
#4
Addicted Member
probably best not to then
...good luck
Cheers!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|