Please a very simple sample for BHO using Visual studio 2005 in C#
Hi, please help a newbie here.
I have searched the internet for samples for BHO in C#, I find it's hard to compile those code. If I start a new project under VS 2005, what kind of project should I start with? a console, or control library?
If it is possible, please post a very simple sample here. I don't complain all the documentation at MSDN, but I will really appreciate anyone give me a hand here.
thanks
Misa
Hey Misa (Misha?)
Check out this link: http://www.codeproject.com/csharp/dotnetbandobjects.asp
This is pretty much the only article on Internet about IE add-ons in .NET. Start from there. Lots of people were able to successfuly build IE ad-ons with BandObject.dll from Pavel.
Question to IE development team:
Since .NET is a new platform for, I'd say, everything in Windows world, and IE is a C++ [legacy? :)))] application, is Microsoft going to create any APIs for C#/BHO development? Or we're going to be stuck with whatever Pavel wrote for years to come? :)
Thanks!
Hi,
I'm having a hard time to figuring out this BHO.
May i know how i integrated this object into my windows application?
I need my program to be able to block website on IE. And i'm not developing a toolbar for IE or such, but instead a program running on thread listening to IE event.
And btw what is the snk key all about? Is it for copyright?
thanks in advance
The snk key is all about strong-naming your assembly. This means that only you know the private key used for signing.
So if your object was "hello.HelloWorldBHO", and someone else replaces that assembly with their own containing the exact same namespace and classes, they wouldn't be able to fake it since they wouldn't know your private key.
As far as I know, to listen to IE's events, writing a BHO is the only way to go.