Link to home
Start Free TrialLog in
Avatar of sasinair
sasinair

asked on

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

ASKER CERTIFIED SOLUTION
Avatar of Eddie Shipman
Eddie Shipman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sasinair
sasinair

ASKER

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


SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
I just removed it and added ShDoc_vw_tlb to it's uses clause.
I just removed it and added ShDoc_vw_tlb to it's uses clause.
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.

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.
I am going to request that you be removed from the Delphi Cleanup gorup because you have no expertise in this area.
I have sent email to AnnieMod but haven't rcvd instructions.