Re: VB6 app hosting WebBrowser containing custom controls
From: Peter (Peter_at_discussions.microsoft.com)
Date: 09/21/04
- Next message: YK: "Re: CHM Resources and Windows XP SP2"
- Previous message: Igor Tandetnik: "Re: Shdoclc.dll"
- In reply to: Igor Tandetnik: "Re: VB6 app hosting WebBrowser containing custom controls"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 21 Sep 2004 10:21:03 -0700
Thanks!
Peter
"Igor Tandetnik" wrote:
> "Peter" <Peter@discussions.microsoft.com> wrote in message
> news:C958E219-EDB6-42C1-AFFA-5E4C5C481D39@microsoft.com
> > I have tried to host a WebBrowser presenting HTML mixed with an
> > ActiveX control without any problems. But when I try to access the
> > ActiveX from the application hosting the WebBrowser I get the
> > following security problem: "An ActiveX control on this page might be
> > unsafe...". The ActiveX is already installed on the client machine
> > and are not downloaded.
>
> The control does not mark itself safe for scripting - see IObjectSafety.
>
> > How could I get rid of the security warning?
>
> Implement your own custom security manager - see
> IInternetSecurityManager. You are interested in
> URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY policy. Or, if you have access
> to the source code of ActiveX controls in question, mark them safe for
> scripting (by implementing IObjectSafety appropriately) - after making
> sure they are indeed safe, of course.
> --
> With best wishes,
> Igor Tandetnik
>
> "On two occasions, I have been asked [by members of Parliament], 'Pray,
> Mr. Babbage, if you put into the machine wrong figures, will the right
> answers come out?' I am not able to rightly apprehend the kind of
> confusion of ideas that could provoke such a question." -- Charles
> Babbage
>
>
>
- Next message: YK: "Re: CHM Resources and Windows XP SP2"
- Previous message: Igor Tandetnik: "Re: Shdoclc.dll"
- In reply to: Igor Tandetnik: "Re: VB6 app hosting WebBrowser containing custom controls"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|