I am currently developing a BHO in C# which should be trigger only when the user clicks a button in IE. So far, I created a new button in the normal IE toolbar by a new registry entry. My question is now, how can I trigger the BHO (for testing the same as in the article: "How to attach to Browser Helper Object (BHO) with C# in two minutes") only when the user clicks on my new button and not always when a new page is called or a new instance of IE is created?
Would be nice if anybody can help me! Thanks in advance.