Ie events

Hi all,

Can any one help me how to trap all the Internet explorer events. That mean I should be able to trap url when a url navigate or a new ie open etc.[If u r going to talk about EventSinkImp then I am facing one problem]

Thanks in advance
Sasinair

sasinairAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Eddie ShipmanAll-around developerCommented:
Well, what is the problem you are having with IEEventSinkImpl?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
snehanshuCommented:
You could have a look at Browser Helper Object,
http://www.euromind.com/iedelphi/ie5tools/bho.htm
I found this link at this thread
http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_20481659.html

HTH,
...Snehanshu
sasinairAuthor Commented:
I have just download the EventSinkImp tool and have generated the
SHDocVwEvents.pas and am trying to install it into Delphi 6 Pro.
  I did what it said to do, which is:
--------Instructions-----
3. Click "Import". EventSinkImp will now create the file shdocvwEvents.pas.
4. Open Delphi and select from the menu
Component->Install component and install shdocvwEvents.pas into a new
package called "IEEvents" (or whatever).


--End Instructions----


But when trying to compile it gives me the following error:


----Begin Error Report---


---------------------------
Error
---------------------------
Registration procedure, Shdocvw_tlb.Register in package
f:\borland\delphi6\Projects\Bpl\FireIEEvents.bpl raised exception class
EFilerError: A class named TWebBrowser already exists.
---------------------------
OK
---------------------------



---End Error Report---


  What would I need to do to get rid of this error and install the newly
generated component???


SasiNair


Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

DeerBearCommented:
Hi,

Simple : rename the class.

HTH,

Andrew
sasinairAuthor Commented:
Hi,

You are talking about renaming TWebBrowser in SHDocVw_TLB file? If I rename will it effect any other related files or any thing??

SasiNair
Eddie ShipmanAll-around developerCommented:
I just removed it and added ShDoc_vw_tlb to it's uses clause.
Eddie ShipmanAll-around developerCommented:
I just removed it and added ShDoc_vw_tlb to it's uses clause.
Eddie ShipmanAll-around developerCommented:
I just downloaded the EvenSinkImpl units from this link
and had no problem installing SHDocVwEvents in D6 Pro.

Where did you get those installation instructions, anyway?
You don't have to "import" anything to get the SHDocVwEvents.pas
file.

Eddie ShipmanAll-around developerCommented:
kacor,
  Your award of points on this topic show that you have no idea about this subject and shouldn't be a cleanup volunteer,
here.
Eddie ShipmanAll-around developerCommented:
I am going to request that you be removed from the Delphi Cleanup gorup because you have no expertise in this area.
Eddie ShipmanAll-around developerCommented:
I have sent email to AnnieMod but haven't rcvd instructions.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.