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 to add a application to system menu and Startup in System Configuration Utility?

How to add a application to system menu and Startup in System Configuration Utility?

Scheduled Pinned Locked Moved C#
toolstutorialquestionworkspace
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.
  • T Offline
    T Offline
    tannghia
    wrote on last edited by
    #1

    I wamt to add my application to menu(appear when right click at a folder or a file) and add it to Startup in System Configuration Utility (Run - > msconfig).Thank you very much!!!!!

    M 0 L G 4 Replies Last reply
    0
    • T tannghia

      I wamt to add my application to menu(appear when right click at a folder or a file) and add it to Startup in System Configuration Utility (Run - > msconfig).Thank you very much!!!!!

      M Offline
      M Offline
      mrcooll
      wrote on last edited by
      #2

      i guess you need to communicate with windows API i would love to know how u will do it!

      1 Reply Last reply
      0
      • T tannghia

        I wamt to add my application to menu(appear when right click at a folder or a file) and add it to Startup in System Configuration Utility (Run - > msconfig).Thank you very much!!!!!

        0 Offline
        0 Offline
        0x3c0
        wrote on last edited by
        #3

        Running an application on startup[^]. As far as I know, msconfig reads those registry keys, so it should appear

        Between the idea And the reality Between the motion And the act Falls the Shadow

        1 Reply Last reply
        0
        • T tannghia

          I wamt to add my application to menu(appear when right click at a folder or a file) and add it to Startup in System Configuration Utility (Run - > msconfig).Thank you very much!!!!!

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #4

          Hi, there are many ways to do this, and it depends on the intelligence you need behind this. If all you need is a fixed menu item (fixed text, fixed command line to execute) for files, folders or files+folders then it takes two registry entries: // create registry entries to get an entry in the Explorer context menu for all files and folders: // (replace AllFilesystemObjects by * for files not folders) // HKEY_CLASSES_ROOT\AllFilesystemObjects\Shell\SomeNameYouChoose.ContextMenu: // (Default) Open in my program // HKEY_CLASSES_ROOT\AllFilesystemObjects\Shell\SomeNameYouChoose.ContextMenu\Command: // (Default) path_to_my_exe "%1" If you need some code to run before the context menu appears (because you need to compute the right menu item text, etc) then it gets more complex. :)

          Luc Pattyn [Forum Guidelines] [My Articles]


          The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.


          1 Reply Last reply
          0
          • T tannghia

            I wamt to add my application to menu(appear when right click at a folder or a file) and add it to Startup in System Configuration Utility (Run - > msconfig).Thank you very much!!!!!

            G Offline
            G Offline
            Giorgi Dalakishvili
            wrote on last edited by
            #5

            Here you are: Window Tabifier[^]

            Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion

            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