uh,2 questions.1 how can I use code register my shellext;2can I write the shellext class in my exist exe project

Jan 11, 2014 at 2:38 PM
Edited Jan 11, 2014 at 2:40 PM
uh,2 questions.1 how can I use code register my shellext;2can I write the shellext class in my exist exe project

1,How can I regiseter my shellext through code,in other words,by setup,my shellext can be work.
2,I want add shellext in a exe project , can it workable?
thx for any help ...
Coordinator
Sep 7, 2014 at 5:14 PM
Hi sorry about the late reply.

You can register the shell extension by using the ServerManager class. This will allow you to register the extension programatically. You would not typically have a shell extension in an exe - they are in their own assemblies. When you have a exe that is something that is executed typically by the user or at a specific time, shell extensions are running always (or when the shell loads them) - what do you need it to do in the exe?