Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error using WebBrowser
Message
 
 
À
19/07/2013 13:26:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01578896
Message ID:
01587924
Vues:
65
>Hi All,
>My objective is to call a web application inside a vfp form. I am having an issue when using a web browser object.
>When navigating, depending on the web pages ( for example www.manex.com ), I will get an error ‘An error has occurred in the script on this page.
>Error: Unable to get value of the property ‘setStyle’: object is null or undefined
>URL http://www.manex.com/js/sl_slider.js
>
>the screen print of the error is attached.
>
>Here the code for duplicating the problem
>
>xx=Newobject('_webform',Home()+'\gallery\_WebView')
>xx.OleWebBrowser.Navigate2('http:\\www.manex.com')
>xx.Show()
>
>
>
>
>Help please.
>
>Thank you
>Yelena


Hi Yelena,

Did you find any solution to your problem? We're trying a similar thing (I originally just invoked the browser, but now we want to try using WebBrowser) and my colleague also seeing various script errors. I am wondering if this is a limitation of WebBrowser control or there is a way to overcome it?

Thanks in advance.

BTW, I also just found this message
Message# 1541917

which was not answered but showed similar problems.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform