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
"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
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 > >