Computer Hope

Microsoft => Microsoft Windows => Windows Vista and 7 => Topic started by: JustGreat on May 05, 2010, 09:12:41 AM

Title: Registry Problem
Post by: JustGreat on May 05, 2010, 09:12:41 AM
I made a program 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 ?



ps: I have same issue in WIN XP also !