Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for Implement Explorer ContextMenu and pass multiple files to one program instance

Current License: CC BY-SA 3.0

Post Revisions

26 events
when toggle format what by license comment
Dec 5, 2023 at 11:10 answer added Mister Robato timeline score: 0
Dec 1, 2014 at 15:24 history edited Ňɏssa Pøngjǣrdenlarp CC BY-SA 3.0
clarified title for searching
S Dec 1, 2014 at 14:58 history bounty ended ElektroStudios
S Dec 1, 2014 at 14:58 history notice removed ElektroStudios
Dec 1, 2014 at 14:58 vote accept ElektroStudios
Dec 1, 2014 at 14:13 answer added Ňɏssa Pøngjǣrdenlarp timeline score: 50
Nov 30, 2014 at 0:05 comment added ElektroStudios @Plutonix I didn't noted your other comment, sorry. I think it does not matter and can't help to know the application utility, I just would like to catch all the selected files to pass it a a single-line argument of a 3rd party app, just what the disadvantaged code of my answer below in this question does.
Nov 29, 2014 at 15:57 comment added ElektroStudios I've tested SharpShell project and it does what I need (it can catch multiple files) but it does not support transparency images, and the author said its a pain to add images or to positionate the registered menu, I think a ShellExtension is a very "huge" and S.O. intrusive solution for my "tiny" issue.
Nov 29, 2014 at 15:55 comment added ElektroStudios @Plutonix Is not 100% necessary to register a ShellExtension, I can add few registry keys to create a contextmenu with its submenus. Anyways creating the menu is not a problem, the problem is select multiple files and open them in the same application instance from that contextmenu.
Nov 29, 2014 at 14:39 comment added Ňɏssa Pøngjǣrdenlarp If you want an Explorer menu you need a ShellExtension. This will also associate the "Open" verb with the file type and your Shell. Then rather than doing anything, you create a command line and activate The Other Thing with it. The MS-PL one in VB is fairly simple the only trick may be in deployment because your ShellExt will need to know where the real applet is.
Nov 26, 2014 at 14:57 comment added Ňɏssa Pøngjǣrdenlarp it might help to know what app/utility the solution is supposed to work with.
S Nov 26, 2014 at 13:57 history bounty started ElektroStudios
S Nov 26, 2014 at 13:57 history notice added ElektroStudios Canonical answer required
Nov 23, 2014 at 16:18 answer added ElektroStudios timeline score: 1
Nov 23, 2014 at 15:26 comment added ElektroStudios @Andrew Morton I've deeped more on that article and on the library, yes you are right it does what I need (open multiple files at once in the same instance) i've tested and it works perfect, but the lib is focused to create the ENTIRE contextmenu with submenus and its items and also messing with COM install/registering and really hard things that I don't understand at all. Of course that seems the most efficient way, and thanks for that, but for me is enough to perform something more simple like the answer that I've marked as accepted. thanks again.
Nov 23, 2014 at 15:21 vote accept ElektroStudios
Nov 23, 2014 at 16:46
Nov 23, 2014 at 12:39 answer added Roy van der Velde timeline score: 3
Nov 23, 2014 at 12:30 comment added Andrew Morton I don't understand the problem: that article gives a complete example of creating a program which you can invoke by right-clicking in Explorer. All you need to do is write a program which does what you want instead of the example's "CountLines()".
Nov 23, 2014 at 12:24 comment added ElektroStudios Yes, as I said is nothing interesting, or at least I can't percibe if that is what I really need to accomplish this (sorry for my ignorance if that is the case), because in that example only seems to talk about how to add/register items into contextmenu. thanks
Nov 23, 2014 at 12:20 comment added Andrew Morton I must have my google well-trained, as the first item found is .NET Shell Extensions - Shell Context Menus.
Nov 23, 2014 at 12:19 comment added ElektroStudios @Andrew Morton well, that is not a term, but thankyou for your help, anyways searching by that search pattern I only find info about how to add items/commands into the contextmenu... nothing interesting, I've already learned those things.
Nov 23, 2014 at 12:16 comment added Andrew Morton The search term you're looking for is ".net 4 explorer context menu".
Nov 23, 2014 at 11:55 history edited ElektroStudios CC BY-SA 3.0
added 249 characters in body
Nov 23, 2014 at 11:50 history edited ElektroStudios CC BY-SA 3.0
added 249 characters in body
Nov 23, 2014 at 11:44 history edited ElektroStudios CC BY-SA 3.0
added 249 characters in body
Nov 23, 2014 at 11:38 history asked ElektroStudios CC BY-SA 3.0
toggle format

AltStyle によって変換されたページ (->オリジナル) /