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