FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour how can I use "ScriptErrorsSuppressed"?
Posts: 57
Joined: Sun Apr 12, 2009 10:51 AM
how can I use "ScriptErrorsSuppressed"?
Posted: 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

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: how can I use "ScriptErrorsSuppressed"?
Posted: 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

Continue the discussion