Results 1 to 4 of 4

Thread: system service

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2003
    Location
    Porto Alegre, RS
    Posts
    210

    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

  2. #2
    Addicted Member
    Join Date
    Feb 2002
    Location
    closed
    Posts
    196
    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.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2003
    Location
    Porto Alegre, RS
    Posts
    210
    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

  4. #4
    Addicted Member
    Join Date
    Feb 2002
    Location
    closed
    Posts
    196
    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
  •  



Click Here to Expand Forum to Full Width