Welcome to WebmasterWorld Guest from 34.204.203.142

Forum Moderators: ocean10000

Message Too Old, No Replies

Help for Browser Helper Objects in c#

How to replace the web page content during page getting downloaded?

     
9:26 am on Aug 26, 2008 (gmt 0)

New User

10+ Year Member

joined:Aug 26, 2008
posts: 1
votes: 0


Hi
I'm new to .Net, I had created a Browser Helper Object in c# using
[codeproject.com...]
I want to replace the web page content with other text. I can able to replace the web page

content but, when i open Internet Explorer, the web page is displayed with the original

content it had, and after few seconds, the content is got replaced, but i want the content

is to be replaced first with other text, i.e., before it is visible to the user.

Here I am using DWebBrowserEvents2_DocumentCompleteEventHandler,
Instead of this , I also tried with DWebBrowserEvents2_DownloadBeginEventHandler and

DWebBrowserEvents2_DownloadCompleteEventHandler,

DWebBrowserEvents2_ProgressChangeEventHandler but are of no use, the result is same.

Please help if anyone know about this........
Thanks........