Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. service

service

Scheduled Pinned Locked Moved C#
tutorialquestion
12 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M mnssr

    How to prevent the user to stop the service?

    T Offline
    T Offline
    TylerBrinks
    wrote on last edited by
    #3

    what kind of service?

    C 1 Reply Last reply
    0
    • T TylerBrinks

      what kind of service?

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #4

      Acoustic wrote:

      what kind of service?

      What difference does that make?

      * Developer Day Scotland 2 - Free community conference * The Blog of Colin Angus Mackay


      Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.

      L T 2 Replies Last reply
      0
      • C Colin Angus Mackay

        Acoustic wrote:

        what kind of service?

        What difference does that make?

        * Developer Day Scotland 2 - Free community conference * The Blog of Colin Angus Mackay


        Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #5

        I've noticed some people a round here help people with clear malicious intent, as long as their told the answer they want to hear. "I'm making a cafe application, that's why it can't show up in task manager" "I'm making a service to monitor my employee's system" etc etc Check out the Do not allow taskmanager to close my app[^] Guy got help despite his obvious intent.

        1 Reply Last reply
        0
        • M mnssr

          How to prevent the user to stop the service?

          L Offline
          L Offline
          leckey 0
          wrote on last edited by
          #6

          ...

          "Well, we're getting "F"'d at work. WPF, WCF, and WWF... WTF?" --John Simmons

          1 Reply Last reply
          0
          • C Colin Angus Mackay

            Acoustic wrote:

            what kind of service?

            What difference does that make?

            * Developer Day Scotland 2 - Free community conference * The Blog of Colin Angus Mackay


            Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.

            T Offline
            T Offline
            TylerBrinks
            wrote on last edited by
            #7

            It makes a huge difference. A windows service is totally different than a WCF service. Neither are like a COM service. You're not going to get a clear answer unless you explain what kind of service you're talking about.

            C 1 Reply Last reply
            0
            • T TylerBrinks

              It makes a huge difference. A windows service is totally different than a WCF service. Neither are like a COM service. You're not going to get a clear answer unless you explain what kind of service you're talking about.

              C Offline
              C Offline
              Colin Angus Mackay
              wrote on last edited by
              #8

              Maybe, but ultimately all services reside within a process, so the question really is how do you prevent the user stopping a process?

              * Developer Day Scotland 2 - Free community conference * The Blog of Colin Angus Mackay


              Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.

              M 1 Reply Last reply
              0
              • M mnssr

                How to prevent the user to stop the service?

                R Offline
                R Offline
                realJSOP
                wrote on last edited by
                #9

                In the code, set CanStop to false.

                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                -----
                "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                M 1 Reply Last reply
                0
                • R realJSOP

                  In the code, set CanStop to false.

                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                  -----
                  "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                  M Offline
                  M Offline
                  mnssr
                  wrote on last edited by
                  #10

                  When the press of a button Alt + Ctrl + Delete and terminate the Service

                  1 Reply Last reply
                  0
                  • C Colin Angus Mackay

                    Maybe, but ultimately all services reside within a process, so the question really is how do you prevent the user stopping a process?

                    * Developer Day Scotland 2 - Free community conference * The Blog of Colin Angus Mackay


                    Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.

                    M Offline
                    M Offline
                    mnssr
                    wrote on last edited by
                    #11

                    yes

                    A 1 Reply Last reply
                    0
                    • M mnssr

                      yes

                      A Offline
                      A Offline
                      Andy M
                      wrote on last edited by
                      #12

                      You can't do that.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups