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

Who is Participating?
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
You could have a look at Browser Helper Object,
I found this link at this thread

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:
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---

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

---End Error Report---

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


JavaScript Best Practices

Save hours in development time and avoid common mistakes by learning the best practices to use for JavaScript.


Simple : rename the class.


sasinairAuthor Commented:

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

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

Eddie ShipmanAll-around developerCommented:
  Your award of points on this topic show that you have no idea about this subject and shouldn't be a cleanup volunteer,
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

From novice to tech pro — start learning today.