Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error using WebBrowser
Message
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01578896
Message ID:
01578905
Views:
50
>>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
>
>Do you get the same error when you open the page in the browser directly (not from VFP application)? If you get the same error, the problem is with the page js code.

No, there is no error in this case. I already tested that scenario.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform