Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Ie events

Posted on 2003-10-29
16
Medium Priority
?
418 Views
Last Modified: 2010-04-05
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

0
Comment
Question by:sasinair
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
16 Comments
 
LVL 26

Accepted Solution

by:
EddieShipman earned 136 total points
ID: 9647547
Well, what is the problem you are having with IEEventSinkImpl?
0
 
LVL 5

Assisted Solution

by:snehanshu
snehanshu earned 132 total points
ID: 9647926
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
0
 

Author Comment

by:sasinair
ID: 9648754
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


0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 5

Assisted Solution

by:DeerBear
DeerBear earned 132 total points
ID: 9649894
Hi,

Simple : rename the class.

HTH,

Andrew
0
 

Author Comment

by:sasinair
ID: 9655485
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
0
 
LVL 26

Expert Comment

by:EddieShipman
ID: 9657522
I just removed it and added ShDoc_vw_tlb to it's uses clause.
0
 
LVL 26

Expert Comment

by:EddieShipman
ID: 9657523
I just removed it and added ShDoc_vw_tlb to it's uses clause.
0
 
LVL 26

Expert Comment

by:EddieShipman
ID: 9682696
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.

0
 
LVL 26

Expert Comment

by:EddieShipman
ID: 12583962
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.
0
 
LVL 26

Expert Comment

by:EddieShipman
ID: 12583968
I am going to request that you be removed from the Delphi Cleanup gorup because you have no expertise in this area.
0
 
LVL 26

Expert Comment

by:EddieShipman
ID: 12585236
I have sent email to AnnieMod but haven't rcvd instructions.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question