Hello,
I've seen on the newsgroups that one should implement an interface called
something like ISecurityProperty and feed the reference to an object
implementing this interface to the WebBroser control instance.
The trick is that you provide your own settings for parameters like "Enabe
JavaScript" through that interface implementation.
However, I was unable to find any documentation on this in the MSDN :-(
"Simon CJC" <an*******@discussions.microsoft.com> wrote in message
news:24**********************************@microsof t.com...
Hello,
I use AxSHDocVw.AxWebBrowser in a windows application. But sometimes the
url I browsed in AxSHDocVw.AxWebBrowser contains error caused by javascript.
Can I prevent javascript from running in AxSHDocVw.AxWebBrowser?
Thanks,
Simon CJC