Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

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,161
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.
 

aryajur

Advanced Member level 3
Joined
Oct 23, 2004
Messages
793
Helped
124
Reputation
248
Reaction score
37
Trophy points
1,308
Location
San Jose, USA
Activity points
7,788
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.
 

paroca

Newbie level 5
Joined
Oct 27, 2004
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
68
:) aryajur is tek-tips fans :D tek-tips is a good forum for windows develop.
 

sshahid47

Advanced Member level 4
Joined
Nov 5, 2004
Messages
101
Helped
15
Reputation
30
Reaction score
2
Trophy points
1,298
Activity points
974
hi,
i think the OnDocumentComplete event will indicate that the docuemtn is loaded.
 

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,161
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.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top