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. C#.NET windows services

C#.NET windows services

Scheduled Pinned Locked Moved C#
csharphelp
5 Posts 5 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.
  • D Offline
    D Offline
    D i x y
    wrote on last edited by
    #1

    I am developing an windows application and i want that when system starts application automatically run. I know that may be done by using windows services but i am unable to do that....... So please help

    B U C 3 Replies Last reply
    0
    • D D i x y

      I am developing an windows application and i want that when system starts application automatically run. I know that may be done by using windows services but i am unable to do that....... So please help

      B Offline
      B Offline
      Bekjong
      wrote on last edited by
      #2

      The answer's on the first page I got when searching on Google[^] :S.

      Standards are great! Everybody should have one!

      1 Reply Last reply
      0
      • D D i x y

        I am developing an windows application and i want that when system starts application automatically run. I know that may be done by using windows services but i am unable to do that....... So please help

        U Offline
        U Offline
        Ujjaval Modi
        wrote on last edited by
        #3

        Simply see the following article on codeproject http://www.codeproject.com/KB/dotnet/simplewindowsservice.aspx[^]

        Regards, Ujjaval Modi :) Manpower moves wrenches, horsepower moves cars, and the power of the mind moves the world.

        1 Reply Last reply
        0
        • D D i x y

          I am developing an windows application and i want that when system starts application automatically run. I know that may be done by using windows services but i am unable to do that....... So please help

          C Offline
          C Offline
          CKnig
          wrote on last edited by
          #4

          as you've got answers concering windwos services: I don't think you want to write a service-app. (services shouldn't use GUIs! - aka forms etc.) - you just want to start the app on starup? - Well put a link into your autostart (startup whatever) - folder in your start-menu!

          D 1 Reply Last reply
          0
          • C CKnig

            as you've got answers concering windwos services: I don't think you want to write a service-app. (services shouldn't use GUIs! - aka forms etc.) - you just want to start the app on starup? - Well put a link into your autostart (startup whatever) - folder in your start-menu!

            D Offline
            D Offline
            DaveyM69
            wrote on last edited by
            #5

            ... or (if the service is unecessary) put the path to your app in the registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run Value name: Your App Value Data: Your_App_Path

            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