How to know PDF is loaded completely in webbrowser control?

Status
Not open for further replies.

nicleo

Advanced Member level 2
Joined
Sep 6, 2004
Messages
661
Helped
66
Reputation
132
Reaction score
12
Trophy points
1,298
Activity points
7,150
I have Acrobat Professional installed in my PC.

When I clicked on PDF link, the PDF document will be opened in the IE browser itself.

Now, I wish to write a program using Visual Basic 6 that uses WebBrowser control to open web site or PDF link. Would anyone pls suggest a method to detect when the PDF document is completely downloaded and opened in the my program, or more specifically in the WebBrowser control?

p/s: I've tried DocumentComplete or NavigateComplete, but it just did not work as both events triggered before the PDF was completely open in the webbrowser control.
 

Re: How to know PDF is loaded completely in webbrowser contr

I think you should ask this question on a forum like www.tek-tips.com, you will get the answer within a day there.
 

aryajur is tek-tips fans tek-tips is a good forum for windows develop.
 

hi,
i think the OnDocumentComplete event will indicate that the docuemtn is loaded.
 

Re: How to know PDF is loaded completely in webbrowser contr

Actually I have posted in other forums (e.g. VBForum), but no one reply yet (about one month already). Therefore, I decided to try my luck here.

sshahid47 said:
i think the OnDocumentComplete event will indicate that the docuemtn is loaded.
OnDocumentComplete event did not work. I tried before. Any other suggestion?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…