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: Wed, 16 Jul 2008 09:19:14 +0800,    group: microsoft.public.inetsdk.programming.webbrowser_ctl        back       


About intercept the creation process of ActiveX in Webbrowser Ctrl   
Can I intercept the process.
I want manually feed some ActiveX to Webbrowser instead of the original one 
in OBJECT tag.
date: Wed, 16 Jul 2008 09:19:14 +0800   author:   susan none

Re: About intercept the creation process of ActiveX in Webbrowser Ctrl   
"susan" <none> wrote in message
news:B3FF542A-8E4A-4D74-A2A9-C6BDEE3135CB@microsoft.com
> Can I intercept the process.
> I want manually feed some ActiveX to Webbrowser instead of the
> original one in OBJECT tag.

If you want to intercept a specific control (as opposed to just any 
control), you can do the following. Write a COM object implementing 
IClassFactory, use CoRegisterClassObject(CLSCTX_INPROC_SERVER) to 
register it within the process for the CLSID you want to intercept. Now 
when the browser wants to create an instance of this object, it will 
call your implementation of IClassFactory::CreateInstance.
-- 
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, 16 Jul 2008 00:12:31 -0400   author:   Igor Tandetnik

Google
 
Web ureader.com


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