Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to tell if PDF is loaded using MS Browser Control?
Message
De
03/03/2003 16:06:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00760445
Message ID:
00760515
Vues:
10
>We have a form that has the Microsoft Browser Control on it that we use to view PDFs. The application can have other forms open and are linked together so that if a customer is selected on one of the forms all the other forms that are customer driven will be synced up. We are having difficulties determining when the PDF has been loaded so that we can always find our way back to the initial form. Usually we end up on the form with the browser control on it. We have tried many things to accomplish this including, DOEVENTS (even looping), DocumentComplete event, checking the ReadyState etc. It seems as though the loading of the PDF is taking place in another thread that we have no control over. Anyone have any suggestions on what we can look at to resolve this?

I'm not sure what you mean by "...find our way back to the initial form.", but if your goal is only to view PDF file from VFP, it might be overkill to use the browser to add another layer in your application. There are tools that exist to view PDF file directly from VFP such as discussed in thread #627690 and also I'd say West Wind Clients Tools 4.25 does it as well. See File #16023. By simplifying it, you might be able to resolve this issue.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform