471,334 Members | 1,458 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,334 software developers and data experts.

Explorer ShellExtension ContextMenu Handler...

Ok,

I've been pulling my hair out for hours now :( I know I've asked this
previously, but the question has now changed slightly and taken on a new
direction...:

I'm looking for a coded example (there are a few on the internet, but
documentation is utterly horrendous!), preferably in VB.NET, or VB6 or C#
(preference in this order) to allow me to create context menus dynamically
at runtime when the user right clicks a file (or set of files) or a folder
in explorer (or on the desktop).

I'm attempting to mimic the operation of utilities such as Winzip, and CD
burning style utilities.

I've got as far as putting a key in the registry at:
HKCR\*\ShellEx\ContextMenuHandler, with a REG_SZ value holding the GUID of
my created COM .dll CLSID (Now here's a problem for you - I want this in
..NET, but can only create in COM??).

However where I go from here, I have no idea! I've seen all manner of
examples creating a single entry in the context menu - but nothing with
submenus. Nothing in .NET with any code comments and documentation.

Has anyone done this, could you proffer some advice please? There's nowt out
there, so some original thought is required into the Shell/Win32 API!

Warmest Regards!

Mike

XPosted to: dotnet.general, dotnet.languages.vb, vb classic
..general.discussion (pertinent to all three, thanks).

--
Mike Wilson
Evolved Software Studios Ltd
www.evolvedsoftwarestudios.com
Jul 21 '05 #1
0 808

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by R.Marquez | last post: by
1 post views Thread by Mike Wilson | last post: by
1 post views Thread by Brian Martel | last post: by
reply views Thread by Valerie Hough | last post: by
2 posts views Thread by Derrick | last post: by
3 posts views Thread by Libby Sharf | last post: by
2 posts views Thread by Martin Carpella | last post: by
7 posts views Thread by wandii | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.