Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Tue, 18 Mar 2008 17:37:58 +0800,    group: microsoft.public.inetsdk.programming.webbrowser_ctl        back       


about ActiveX in webbrowser control   
1. if the WebPages use <object> tag to create some ActiveX objects( 
especially the ActiveX has UI). Then the Webbrowser control will prompt a 
dialog to let user decide whether to create. how can i restrain it to show?

2. Can i stop ActiveX's creation in my Webbrowser control Host?

Thx~
Regards
date: Tue, 18 Mar 2008 17:37:58 +0800   author:   susan none

Re: about ActiveX in webbrowser control   
"susan" <none> wrote in message
news:A0780BCE-8751-45E9-9487-650C98533470@microsoft.com
> 1. if the WebPages use <object> tag to create some ActiveX objects(
> especially the ActiveX has UI). Then the Webbrowser control will
> prompt a dialog to let user decide whether to create. how can i
> restrain it to show?
> 2. Can i stop ActiveX's creation in my Webbrowser control Host?

To completely block all ActiveX controls, see

http://msdn2.microsoft.com/en-us/library/aa741313.aspx

"Download Control" section.

You can also implement IInternetSecurityManager to fully control your 
security policy. This way you can also block all ActiveX controls, or 
you can do something more nuanced.
-- 
With best wishes,
    Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not 
necessarily a good idea. It is hard to be sure where they are going to 
land, and it could be dangerous sitting under them as they fly 
overhead. -- RFC 1925
date: Tue, 18 Mar 2008 07:38:59 -0400   author:   Igor Tandetnik

Re: about ActiveX in webbrowser control   
When I use IInternetSecurityManager to block ActiveX controls, IE shows a
modal message box everytime when a page with an ActiveX loads. I suggest
removing the <object> node from the DOM using DHTML to avoid this behavior.

-- 
Sheng Jiang
Microsoft MVP in VC++
"Igor Tandetnik"  wrote in message
news:#R0jpyOiIHA.5900@TK2MSFTNGP02.phx.gbl...
> "susan" <none> wrote in message
> news:A0780BCE-8751-45E9-9487-650C98533470@microsoft.com
> > 1. if the WebPages use <object> tag to create some ActiveX objects(
> > especially the ActiveX has UI). Then the Webbrowser control will
> > prompt a dialog to let user decide whether to create. how can i
> > restrain it to show?
> > 2. Can i stop ActiveX's creation in my Webbrowser control Host?
>
> To completely block all ActiveX controls, see
>
> http://msdn2.microsoft.com/en-us/library/aa741313.aspx
>
> "Download Control" section.
>
> You can also implement IInternetSecurityManager to fully control your
> security policy. This way you can also block all ActiveX controls, or
> you can do something more nuanced.
> -- 
> With best wishes,
>     Igor Tandetnik
>
> With sufficient thrust, pigs fly just fine. However, this is not
> necessarily a good idea. It is hard to be sure where they are going to
> land, and it could be dangerous sitting under them as they fly
> overhead. -- RFC 1925
>
>
date: Wed, 19 Mar 2008 09:39:05 -0600   author:   Sheng Jiang[MVP] uss

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us