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. How do I get an app to run on boot?

How do I get an app to run on boot?

Scheduled Pinned Locked Moved C#
question
5 Posts 4 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.
  • C Offline
    C Offline
    cjengler
    wrote on last edited by
    #1

    Could someone please point me in the right direction. I have an windows application that I am writting for the schools bookstore. They wish the application to start when Windows starts up (IE: like McAffe would). I have searched through the articles here and on google and found nothing on this. Although to be fair it may be my not entering the right search string. If any one could point me in the right direction I would appreciate it. Joe

    M H C J 4 Replies Last reply
    0
    • C cjengler

      Could someone please point me in the right direction. I have an windows application that I am writting for the schools bookstore. They wish the application to start when Windows starts up (IE: like McAffe would). I have searched through the articles here and on google and found nothing on this. Although to be fair it may be my not entering the right search string. If any one could point me in the right direction I would appreciate it. Joe

      M Offline
      M Offline
      Michael P Butler
      wrote on last edited by
      #2

      The registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run is one place to do this. Placing an app in the Startup folder would also do it. Michael But you know when the truth is told, That you can get what you want or you can just get old, Your're going to kick off before you even get halfway through. When will you realise... Vienna waits for you? - "The Stranger," Billy Joel

      1 Reply Last reply
      0
      • C cjengler

        Could someone please point me in the right direction. I have an windows application that I am writting for the schools bookstore. They wish the application to start when Windows starts up (IE: like McAffe would). I have searched through the articles here and on google and found nothing on this. Although to be fair it may be my not entering the right search string. If any one could point me in the right direction I would appreciate it. Joe

        H Offline
        H Offline
        Heath Stewart
        wrote on last edited by
        #3

        What do you think that Start->Programs->Startup folder is for? Just put a shortcut to your application in there, or add a registry key to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run to start it for the current user of the system (each user has their own person hive), or use HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run for all users of the machine. Be careful using the registry editor (regedit.exe) because anything you screw up could have disasterous results to applications or all of Windows.

        -----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----

        1 Reply Last reply
        0
        • C cjengler

          Could someone please point me in the right direction. I have an windows application that I am writting for the schools bookstore. They wish the application to start when Windows starts up (IE: like McAffe would). I have searched through the articles here and on google and found nothing on this. Although to be fair it may be my not entering the right search string. If any one could point me in the right direction I would appreciate it. Joe

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

          Thank you for your help. As a student finishing up his degree and carrying 18 hours in his final semester it is useful to have a board like this to help out when you have a brain freeze. Of course it would be more helpful if some people didn't go so far out of their way to stroke their own ego by making others feel stupid (IE: What do you think....is fo?), when they ask a simple question. But I guess it was my own fault for asking a question. Thanks again for all your help. Joe

          1 Reply Last reply
          0
          • C cjengler

            Could someone please point me in the right direction. I have an windows application that I am writting for the schools bookstore. They wish the application to start when Windows starts up (IE: like McAffe would). I have searched through the articles here and on google and found nothing on this. Although to be fair it may be my not entering the right search string. If any one could point me in the right direction I would appreciate it. Joe

            J Offline
            J Offline
            jparsons
            wrote on last edited by
            #5

            If you want the app to run when a user logs in then the suggestions already provided are the best way to do it. If you want the program to start on startup regardless of whether or not a user is logged in then you need to install the program as a windows service. There was a great article on how to do this on osnews just the other day. Below is a link www.osnews.com[^] Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

            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