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