Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bho in c#

Status
Not open for further replies.

bedrock

Programmer
Nov 6, 2002
94
US
hi all, ive been working on a project for quite a few weeks now that i need to create a browser helper object. i want to do this in c# because i know little or nothing about com/atl, and in c# i can get away with as little as possible. i found a 'good' tutorial here:


but im still having problems. basically my object is registered ok, and seems to be attaching to internet explorer (if i try and rebuild or uninstall with ie open it asks me to close the window). but the setsite method doesnt seem to be executing, and thus no listeners are added. the functionality of my program is virtually the same as the above tutorial, except i have a couple more listeners and different actions in OnDocumentComplete as would be expected. and it seems that the tutorial suffers from the same bug, since i get the same behavior from it, which i didnt realize until AFTER i tried implementing it >:/ please, please help!

what we see depends mainly on what we look for.
--John Lubbock
 
i am having the same problem. were u able to find a solution ?
 
i ended up using vc++ code for the bho, although im a fairly convinced it can be done in c#. there are lots of examples on codeproject.com that should provide atleast a starting point. personally though i havent worked on that code in months, so im a bit rusty with the whole it all.

what we see depends mainly on what we look for.
--John Lubbock
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top