CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2000
    Posts
    58

    windows explorer Help!!!!!

    Hi,

    Does anyone know how to add a option to the popup menu that displays when you write mouse click in windows explorer?

    So I can add my own option to their popup menu, which when clicked, performs a function specified by me.

    Thanks Heaps.


  2. #2
    Join Date
    Jun 2001
    Location
    MO, USA
    Posts
    2,868

    Re: windows explorer Help!!!!!

    You have to add/modify registry entries... it would help to know what you would like to do...


  3. #3
    Join Date
    Sep 2000
    Posts
    58

    Re: windows explorer Help!!!!!

    I would like to add an option to the windows explorer popup that runs a specified .exe

    What registry settings would allow me to do this?

    Thanks.


  4. #4
    Join Date
    Jun 2001
    Location
    MO, USA
    Posts
    2,868

    Re: windows explorer Help!!!!!

    Depending upon what filetypes you want your option available for you may have to put in a diffent place, but for a test try this... create/modify the following with regedit:

    HKEY_CLASSES_ROOT\*\Shell\MyProg\Command

    and set the Default value to "C:\somepath\your.exe"

    If your exe needs the file name then
    "C:\somepath\your.exe "%1"

    Whatever the keys above must match what I have except you can substitue whatever you want the menu option to be for the MyProg value... Close regedit, open explore, and right click on a file, you should see your new menu item.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured