Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inconsistencies when using the web browser control
Message
 
À
14/10/2002 12:03:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00710955
Message ID:
00710990
Vues:
16
>I am running an application which now needs to have 3 instances of the Web Browser in use. The first is on a simple form and works perfectly. The second instance, I have not dared to try a third, is on thisform.pgf2base1.page1. of a 2 page form. This does not work at all and further more, I get 'syntax error' reports anytime any other control is activated.
>I have a 'Twin' to the form and that does NOT have the webbrowser control ANYWHERE on it and that works flawlessly.
>What am I doing wrong? Should I have dropped the webbrowser control someplace else on the form?
>Can anyone offer any suggerstions?

Hi James
Are you dropping the ActiveX (IE browser control) directly on your form? If that's the case, you can avoid many problems using the subclassed Web control from the Component Gallery.
If you prefer to use the "raw" activeX rather than the VFP wrapper, there are a couple of events to trap for the ActiveX to work straight on a VFP form; i.e. issuing a NODEFAULT on the Refresh event.

The subclassed control already takes care of that bizarre stuff.

Hope this helps. Bye
Jose.
------------------
Jose Marcenaro
Tercer Planeta - Argentina
http://www.tercerplaneta.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform