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. Run hidden on startup

Run hidden on startup

Scheduled Pinned Locked Moved C / C++ / MFC
algorithmshelpquestion
4 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.
  • L Offline
    L Offline
    lynchspawn
    wrote on last edited by
    #1

    Please help me with the proper terms here. I want to run an application on startup and have it run hidden. I don't care if it shows in the task list but I don't want it visible anywhere on the desktop. What should I be searching on? I have a console app that does what I want it to do now but I can convert it to something like a service if that's what it needs to be. Thanks!

    T R 2 Replies Last reply
    0
    • L lynchspawn

      Please help me with the proper terms here. I want to run an application on startup and have it run hidden. I don't care if it shows in the task list but I don't want it visible anywhere on the desktop. What should I be searching on? I have a console app that does what I want it to do now but I can convert it to something like a service if that's what it needs to be. Thanks!

      T Offline
      T Offline
      TheGreatAndPowerfulOz
      wrote on last edited by
      #2

      you can make it a windows application instead of a console application.

      B 1 Reply Last reply
      0
      • L lynchspawn

        Please help me with the proper terms here. I want to run an application on startup and have it run hidden. I don't care if it shows in the task list but I don't want it visible anywhere on the desktop. What should I be searching on? I have a console app that does what I want it to do now but I can convert it to something like a service if that's what it needs to be. Thanks!

        R Offline
        R Offline
        Rajesh R Subramanian
        wrote on last edited by
        #3

        Say your application name is MyProg.Exe, and is located in C:\Program Files\My Company, then add an entry for your program in the following registry key, as follows. HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\"C:\Program Files\My Company\MyProg.exe" Windows will run any program inside this key automatically, on startup. I dont know what kind of an app it is. If it has nothing to do with the user, then it would be better to make it as a service. Regards, Rajesh R. Subramanian. You have an apple and me too. We exchange those and We have an apple each. You have an idea and me too. We exchange those and We have two ideas each.

        1 Reply Last reply
        0
        • T TheGreatAndPowerfulOz

          you can make it a windows application instead of a console application.

          B Offline
          B Offline
          Blake Miller
          wrote on last edited by
          #4

          In other words, if you make it a windows application, but don't create a window, it will be really hidden! The task name will show up in task bar, but there will be no visible widnow. Now, the soapbox. The Kodak EasyShare shoftware does this crap. And, every time I go to shutdown my wife's Windows XP box, I get a warning about "user has 1 program running you could lose data .. blah blah blah..." and this is very annoying, because an INEXPERIENCED user would be scrathing their head trying to figure out where is the G_____N app that is running?? So, I would also encourage you to diligently process any notifications or other events (difficult if no window..) that he system would send you regarding shutting down or logging off. No shirt, no shoes, no brains, no service.

          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