Results 1 to 14 of 14

Thread: How to create in explorer's context menu my own entry?

  1. #1

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729

    How to create in explorer's context menu my own entry?

    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
    \m/\m/

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

  3. #3

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    Didnt find in both sites nothing that could help my problem, anyone?
    \m/\m/

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    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 ?

  5. #5

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    As I said above I want to add a menu item for folders in EXPLORER not IE
    \m/\m/

  6. #6

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    bump..im really needing this
    \m/\m/

  7. #7
    Frenzied Member dynamic_sysop's Avatar
    Join Date
    Jun 2003
    Location
    Ashby, Leicestershire.
    Posts
    1,142
    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
    ~
    if a post is resolved, please mark it as [Resolved]
    protected string get_Signature(){return Censored;}
    [vbcode][php] please use code tags when posting any code [/php][/vbcode]

  8. #8
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Keep in mind , you need to restart after each try so the reg gets updated .

  9. #9
    New Member
    Join Date
    Dec 2003
    Posts
    12
    Check this...

    Context Menu
    Things go better with rock

  10. #10

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    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
    \m/\m/

  11. #11
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    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
    Can you show us how plz ?

  12. #12
    Frenzied Member <ABX's Avatar
    Join Date
    Jul 2002
    Location
    Canada eh...
    Posts
    1,622
    Tips:
    • Google is your friend! Search before posting!
    • Name your thread appropriately... "I Need Help" doesn't cut it!
    • Always post your code!!!! We can't read your mind!!! (well, at least most of us!)
    • Allways Include the Name and Line of the Exception (if one is occuring!)
    • If it is relevant state the version of Visual Studio/.Net Framwork you are using (2002/2003/2005)


    If you think I was helpful, rate my post
    IRC Contact: Rizon/xous ChakraNET/xous Freenode/xous

  13. #13
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Thanks <ABX . I'll create a little tool that automate adding right-click context menu without digging in the reg . .........

  14. #14
    Addicted Member Codehammer's Avatar
    Join Date
    Aug 2004
    Posts
    164

    Re: How to create in explorer's context menu my own entry?

    %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.
    Curiosity SKILLED the cat
    Google Talk from your Mobile phone

    Chat from your mobile or get an emulator like J2ME Wireless Toolkit 2.2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width