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. invoke an application when starting the pc

invoke an application when starting the pc

Scheduled Pinned Locked Moved C / C++ / MFC
help
3 Posts 3 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.
  • R Offline
    R Offline
    Rubin Boban
    wrote on last edited by
    #1

    hai all i have an executable file installed in my system and what i need to do is invoke that application(.exe file) when ever my operating system is up.please help me thank you

    B 1 Reply Last reply
    0
    • R Rubin Boban

      hai all i have an executable file installed in my system and what i need to do is invoke that application(.exe file) when ever my operating system is up.please help me thank you

      B Offline
      B Offline
      Brian D
      wrote on last edited by
      #2

      You could place a shortcut to the file in the Startup folder on the start menu, or better still, create an entry in the RUN section in your registry key path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run This will work on whoever logs into the machine assuming they have access rights to the file that you want to run.


      "You know "that look" women get when they want sex? Me neither." --Steve Martin

      Q 1 Reply Last reply
      0
      • B Brian D

        You could place a shortcut to the file in the Startup folder on the start menu, or better still, create an entry in the RUN section in your registry key path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run This will work on whoever logs into the machine assuming they have access rights to the file that you want to run.


        "You know "that look" women get when they want sex? Me neither." --Steve Martin

        Q Offline
        Q Offline
        qcha0s
        wrote on last edited by
        #3

        There are multiple Run sections... HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run will execute the application before anyone logs into the system HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run will execute the application when that user (the current one) logs in... Just make a new String Value (REG_SZ) and give it a descriptive name "My Application" then set the value of the String to the location of the executible C:\.....\somthing.exe -=[ QuieT Cha0s ]=-

        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