Registry Problem


  1. Posts : 3
    Windows
       #1

    Registry Problem


    I made a programm and wanted it to appear on the right click windows menu, of all files and folders, so i added it to registry in the following places :

    For admin users, i added it to

    To add it to all files :
    - HKEY_CLASSES_ROOT\*\shell\Open With My program\command


    To add it to all folders :
    - HKEY_CLASSES_ROOT\Directory\shell\Open With My program\command

    For users that are not admin (if they have rights to write in the registry) :

    To add it to all files :
    - HKEY_CURRENT_USER\Software\Classes\*\Shell\Open With My program\command

    To add it to all folders :
    - HKEY_CURRENT_USER\Software\Classes\Folder\Shell\Open With My program\command



    It's working as supposed, i mean it appears on the right click menu in windows for all files and folders, BUT THE PROBLEM IS :

    When i make double click with "LEFT" mouse, on any file that is not associated to an application in my pc (.swf, .vbw etc..), my program is launched automatically !!
    USUALLY, when we do this, we have the open with form that appears, but since i added my program as described above , it's my program that run automatically , why and how to prevent this ?
    If i am not in the right Forum/Section, please tell me where can i post my question


    ps: It's the same problem on Win XP and Vista !
      My Computer


  2. Posts : 5,642
    Windows 10 Pro (x64)
       #2

    Shouldn't your context menu go into "shellex\ContextMenuHandlers" ?
      My Computer


  3. Posts : 3
    Windows
    Thread Starter
       #3

    I don't have experience in registry, I asked before i added my program some people in forums, how to add my program to the registry to make it appear on right click of all files and folders,they told me to put it in the registry that i mentioned above, I did and it appeared as expected wich is what i want, but the surprise was that each time you click on unknow extension my program is launched, so can you tell me what is the difference between the key where i put and the one you propose ?
    I prefere not to mess with the registry that's why i am asking you because you have more experience in that

    Thanks a lot again for your support
      My Computer


  4. Posts : 9,582
    Windows 8.1 Pro RTM x64
       #4

    Hi JustGreat and welcome to Windows 7 Forums

    Have a look at this Tutorial: Context Menu - Add Shortcuts with Icons
      My Computer


  5. Posts : 3
    Windows
    Thread Starter
       #5

    Thanks for the link, the problem is not how to add for me ,i already add and it's added correctly, my problem is that it's launching the program when i left click on a file (unknown extension)
      My Computer


  6. Posts : 2
    Windows 7 Ultimate 32bit
       #6

    Hi, my name Dextor. I got problem with my HUAWEI Mobile Modem that I could not eject it when i using window 7, the Huawei mobile in safely remove icon turn grey, under it "Eject CD Drive: Metfone 3G." when i click eject it, nothing happened. However, I could eject it properly when i use window vista or XP.

    Are there any solutions? please send me the link too about how to solve my problem.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:51.
Find Us