I want to create a menu that will call my application from the explorer. I only want the menu to appear when i right click in a folder..how can i do this?
Thanks
Printable View
I want to create a menu that will call my application from the explorer. I only want the menu to appear when i right click in a folder..how can i do this?
Thanks
See if this would help : http://www.toejumper.net/warp6/registry6.htm
This is an example .
http://www.vbforums.com/showthread.p...hreadid=264408
Didnt find in both sites nothing that could help my problem, anyone?
dd
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\YourKeyName
then add two values , one takes the path to your exe , the other one Binary Value and change it to 04 .
Did you do this ?
As I said above I want to add a menu item for folders in EXPLORER not IE
bump..im really needing this
open regedit , go to this key ...
HKEY_CLASSES_ROOT\Directory\shell
add a new key to that , which would look something like this ...
HKEY_CLASSES_ROOT\Directory\shell\newkey
add a key to the " newkey " called command , you should then have this...
HKEY_CLASSES_ROOT\Directory\shell\newkey\command
click on the key " command " and set it's default value to the command you wish to invoke ( eg: x:\Path\MyApp.Exe %1 )
it should look something like this ...
- Directory
- ....shell
- .......newkey
- ..........command ------- default %SystemRoot%\Explorer.exe
Keep in mind , you need to restart after each try so the reg gets updated .
Check this...
Context Menu
Thanks all but I've figured it out all by myself last night.
@Pirate: I thought the same but it isn't needed..you can add your entries and they will appear on the fly on all explorer's context menus
Can you show us how plz ?:)Quote:
Originally posted by PT Exorcist
Thanks all but I've figured it out all by myself last night.
@Pirate: I thought the same but it isn't needed..you can add your entries and they will appear on the fly on all explorer's context menus
look here: http://www.mvps.org/emorcillo/dotnet...tensions.shtml
MSDN Documentation:
http://msdn.microsoft.com/library/de...nuhandlers.asp
Thanks <ABX . I'll create a little tool that automate adding right-click context menu without digging in the reg . .........:D
%1 is the File path. If I Want to Log for example every file copied & pasted on a Guys Computer then what does the Path store as? Object? String?
I was thinking Clipboard.getdata("text"), or Clipboard.getdata("object").
I wanted the Path and Destination so, %1 is the Source, is %* the Destination? Then That is all I need to Log the Files Copied into a Text File.
Can Anyone Help, Thanks.