Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inconsistencies when using the web browser control
Message
 
To
14/10/2002 12:03:00
James Hill
Jim Hill Productions
Halifax, Nova Scotia, Canada
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00710955
Message ID:
00710990
Views:
15
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform