Results 1 to 5 of 5

Thread: How to add new item to existing Microsoft menu?

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2005
    Location
    West Chester, PA
    Posts
    42

    Question How to add new item to existing Microsoft menu?

    For example, when you are in Windows Explorer and right click a file, you get a context menu of Delete, Rename, Properties, etc. I have a simple menu item I want to add. Does anyone know how to add it to the existing menu? Thanks.

    By the way, I can do this in .Net 2003 or VB 6.0. Either solution is welcome.

    Mike

  2. #2
    Frenzied Member HanneSThEGreaT's Avatar
    Join Date
    Nov 2003
    Location
    Vereeniging, South Africa
    Posts
    1,492

    Re: How to add new item to existing Microsoft menu?

    You could do this, by using the registry.

    Here's a nice thread (solution is in post #7)

    http://www.codeguru.com/forum/showth...t=context+menu

    Hope it helps a bit!
    VB.NET MVP 2008 - Present

  3. #3

    Thread Starter
    Member
    Join Date
    Sep 2005
    Location
    West Chester, PA
    Posts
    42

    Re: How to add new item to existing Microsoft menu?

    Thanks. That does help. It's not totally what I want, but it gives me somewhere to start.

    When I do the code, incidentally, I only get me program showing when I right-click a Folder. It is not present what I right-click a file.

    Also, all I really want is to display an extra menu item, when you hover over the menu item it expands to show you other menu items, similar to a list of recently used files. The top menu is something like "File Properties." It's sub menu items will display information about the file (like size, date created, type, author, etc). So they are basically read only.

    Now I need to find a way to programatically add new menu items since via the registry. Yikes.

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: How to add new item to existing Microsoft menu?

    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: How to add new item to existing Microsoft menu?

    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


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