开发者

How to start creating a BHO in C#?

开发者 https://www.devze.com 2023-01-30 20:27 出处:网络
I need to create a 开发者_运维技巧BHO in C#. Any documentation available other than the typical Microsoft C++ example?

I need to create a 开发者_运维技巧BHO in C#. Any documentation available other than the typical Microsoft C++ example?

How do I start? Thanks...


It's not that difficult really, but you will have to get your hands dirty with COM interop. I just recently did this for a line-of-business application. Basically you gotta implement IObjectWithSite in your add-in and from there you just hook up to the WebBrowser events the same as you would with an embedded WebBrowser control.

Here is an example. http://www.15seconds.com/issue/040331.htm

0

精彩评论

暂无评论...
验证码 换一张
取 消