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. Displaying the application name in context menu

Displaying the application name in context menu

Scheduled Pinned Locked Moved C#
csharpquestionworkspace
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.
  • S Offline
    S Offline
    sarang_k
    wrote on last edited by
    #1

    Hi all, I am developing a c# windows application and creating a setup of it. When i install that application i want a feature like - when i right click on a file i will get a context menu in which i want to display the application name with the path. So that when i click on the application some operation will be done on that file. All this things i want to do it in c#. Please can any one tell me how can i do it. Thanks in advance.

    B A 2 Replies Last reply
    0
    • S sarang_k

      Hi all, I am developing a c# windows application and creating a setup of it. When i install that application i want a feature like - when i right click on a file i will get a context menu in which i want to display the application name with the path. So that when i click on the application some operation will be done on that file. All this things i want to do it in c#. Please can any one tell me how can i do it. Thanks in advance.

      B Offline
      B Offline
      Bernhard Hiller
      wrote on last edited by
      #2

      Look for "file type association". It is done in the registry (you can add some registry keys by your setup project). Another possibility is to start the application immediately after install and have it creating the keys, see System File Association[^].

      1 Reply Last reply
      0
      • S sarang_k

        Hi all, I am developing a c# windows application and creating a setup of it. When i install that application i want a feature like - when i right click on a file i will get a context menu in which i want to display the application name with the path. So that when i click on the application some operation will be done on that file. All this things i want to do it in c#. Please can any one tell me how can i do it. Thanks in advance.

        A Offline
        A Offline
        Abhinav S
        wrote on last edited by
        #3

        You need to create a custom action in your setup. This[^] should give you an idea.

        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