Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error using WebBrowser
Message
De
13/11/2013 16:06:02
 
 
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:
01587925
Vues:
56
Hi Naomi,
I did not find a solution and went the other direction. I build a URL string based on my needs and use
oShell = Createobject("wscript.shell")
oShell.Run(lcUdfURLString)

giving control to the web. Not perfect but works for us.



>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform