how can I use "ScriptErrorsSuppressed"?

how can I use "ScriptErrorsSuppressed"?

Postby kim yong woo » Thu Jun 11, 2009 12:22 am

Dear Fivewin users,

I am using ActiveX class to place internet exploere dialog in my application.
But, from time to time, when there is script error on certain site, an script error message was displayed and
my application stopped.

On this points, a friend using c# adviced me to use webBrowser class.
There was "webBrowser.ScriptErrorsSuppressed" in c# and other language, so, through setting this value as true or false,
those kinds of script errors of certain sites were ignored.

How can I have this function in fivewin harbour?

Thanks advances for your attention on my situation.


pharmabase@paran.com
Kim yong woo
User avatar
kim yong woo
 
Posts: 57
Joined: Sun Apr 12, 2009 10:51 am
Location: Seoul, Korea

Re: how can I use "ScriptErrorsSuppressed"?

Postby Antonio Linares » Fri Jun 12, 2009 10:44 am

Kim,

use this:

oActiveX:SetProp( "Silent", .T. )

or (from FWH 9.04)

oActiveX:Silent = .T.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41366
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 62 guests