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 / C++ / MFC
  4. Auto Run Application

Auto Run Application

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelp
9 Posts 6 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.
  • P Offline
    P Offline
    polopo
    wrote on last edited by
    #1

    Hi All how can i make a application which is auto run? I mean when system is start then application is run.Plz help me

    singh

    CPalliniC T S 3 Replies Last reply
    0
    • P polopo

      Hi All how can i make a application which is auto run? I mean when system is start then application is run.Plz help me

      singh

      CPalliniC Online
      CPalliniC Online
      CPallini
      wrote on last edited by
      #2

      Add a key inside HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run At least on XP it should work. :)

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
      [My articles]

      In testa che avete, signor di Ceprano?

      P 1 Reply Last reply
      0
      • CPalliniC CPallini

        Add a key inside HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run At least on XP it should work. :)

        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
        [My articles]

        P Offline
        P Offline
        polopo
        wrote on last edited by
        #3

        Can you explane example..

        singh

        T CPalliniC 2 Replies Last reply
        0
        • P polopo

          Can you explane example..

          singh

          T Offline
          T Offline
          toxcct
          wrote on last edited by
          #4

          well, do you understand what "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" is ? do you know regedit ? can't you just write such an entry for you application in this registry key ?

          [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

          P 1 Reply Last reply
          0
          • T toxcct

            well, do you understand what "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" is ? do you know regedit ? can't you just write such an entry for you application in this registry key ?

            [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

            P Offline
            P Offline
            polopo
            wrote on last edited by
            #5

            i know what is regedit.. Well i am useing Dialog Application.Can you tell me how can i use it? Plz help for lerner..

            singh

            D 1 Reply Last reply
            0
            • P polopo

              Can you explane example..

              singh

              CPalliniC Online
              CPalliniC Online
              CPallini
              wrote on last edited by
              #6

              - Launch regedit tool. - Open the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run key. - Issue the add string value command adding the path of your application. :)

              If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
              This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
              [My articles]

              In testa che avete, signor di Ceprano?

              1 Reply Last reply
              0
              • P polopo

                i know what is regedit.. Well i am useing Dialog Application.Can you tell me how can i use it? Plz help for lerner..

                singh

                D Offline
                D Offline
                David Crow
                wrote on last edited by
                #7

                polopo wrote:

                Can you tell me how can i use it?

                Use what?

                "Love people and use things, not love things and use people." - Unknown

                "The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch

                1 Reply Last reply
                0
                • P polopo

                  Hi All how can i make a application which is auto run? I mean when system is start then application is run.Plz help me

                  singh

                  T Offline
                  T Offline
                  Try
                  wrote on last edited by
                  #8

                  Goto Start>Programs>Startup right click on Startup and select "Explore". Startup folder will open. Copy your application to Startup folder. Done.

                  1 Reply Last reply
                  0
                  • P polopo

                    Hi All how can i make a application which is auto run? I mean when system is start then application is run.Plz help me

                    singh

                    S Offline
                    S Offline
                    sashoalm
                    wrote on last edited by
                    #9

                    If you want to do it programatically you can use RegSetValue[^]

                    There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition. Blaise Pascal

                    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