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. add app to popup menu of explorer

add app to popup menu of explorer

Scheduled Pinned Locked Moved C / C++ / MFC
csharpvisual-studiotutorial
2 Posts 2 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.
  • I Offline
    I Offline
    includeh10
    wrote on last edited by
    #1

    when we right-click a file in Windows explorer, a popup menu pops up with several apps, e.g. "Edit with Visual studio" I want to add my app on the popup menu, so when users click a kind of files, the files can be edit by my app. I know how to use double-clicking - I need to add my app to popup menu. thx includeh10

    F 1 Reply Last reply
    0
    • I includeh10

      when we right-click a file in Windows explorer, a popup menu pops up with several apps, e.g. "Edit with Visual studio" I want to add my app on the popup menu, so when users click a kind of files, the files can be edit by my app. I know how to use double-clicking - I need to add my app to popup menu. thx includeh10

      F Offline
      F Offline
      faroqtam
      wrote on last edited by
      #2

      Hi you can do this useing registry(regedit.exe) normaly any Dim for any file have key in registry in HKEY_CLASSES_ROOT key. open registry and then see HKEY_CLASSES_ROOT open it see key txtfile it has the follwing keys ->DefaultIcon ->shell ->open ->command "full path for you program on this case %SystemRoot%\system32\NOTEPAD.EXE %1" ->print -printto now see open key this word appare on any file when it has extenssion .txt . and command key used to determin the path for the program can open this files you can use registry API function's to work with registry to create new class in registry and to add your keys. On Earth nothing impossible, while your mind running. Faroqtam

      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