I need to call a C# BHO method from javascript
I have followed the solution given in this question
I get the error:
'mshtml.HTMLWindow2Class' does not contain a definition for 'myExtension'.
I cannot assign:
dynamic window = browser.Document.parentWindow;
as parentWindow is undefined, I have to cast to (mshtml.IHTMLDocument2) and (mshtml.IHTMLWindow2)
Does anyone have a full working example I could refer to or any help or alternative solutions