Registry Problem

JustGreat

New member
Local time
6:19 AM
Messages
3
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

OS
Windows
Shouldn't your context menu go into "shellex\ContextMenuHandlers" ?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
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

OS
Windows

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dwarf Dwf/11/2012 r09/2013
OS
Windows 8.1 Pro RTM x64
CPU
Intel Core-i5-3570K 4-core @ 3.4GHz (Ivy Bridge) (OC 4.4GHz)
Motherboard
ASRock Z77 Extreme4-M
Memory
4 x 4GB DDR3-1600 Corsair Vengeance CMZ8GX3M2A1600C9B (16GB)
Graphics Card(s)
MSI GeForce GTX770 Gaming OC 2GB
Sound Card
Realtek High Definition on board solution (ALC 898)
Monitor(s) Displays
ViewSonic VA1912w Widescreen (VGA)
Screen Resolution
1440x900
Hard Drives
OCZ Agility 3 SSD 120GB SATA III x2 (RAID 0)
Samsung HD501LJ 500GB SATA II x2
Hitachi HDS721010CLA332 1TB SATA II
Iomega 1.5TB Ext USB 2.0
WD 2.0TB Ext USB 3.0
PSU
XFX Pro Series 850W Semi-Modular
Case
Gigabyte IF233
Cooling
1 x 120mm Front Inlet 1 x 120mm Rear Exhaust
Keyboard
Microsoft Comfort Curve Keyboard 3000 (USB)
Mouse
Microsoft Comfort Mouse 3000 for Business (USB)
Internet Speed
NetGear DG834Gv3 ADSL Modem/Router (Ethernet) ~4.0 Mb/s (O2)
Antivirus
Avast! 8.0.1497
Browser
IE 11
Other Info
Optical Drive: HL-DT-ST BD-RE BH10LS30 SATA Bluray
Lexmark S305 Printer/Scanner/Copier (USB)
WEI Score: 8.1/8.1/8.5/8.5/8.25
Asus Eee PC 1011PX Netbook (Windows 7 x86 Starter)
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

OS
Windows
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

OS
Windows 7 Ultimate 32bit
CPU
Intel(R) Core(TM) i3 CPU M 350 @2.27 GHz
Memory
2.00 GB
Back
Top