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: Fri, 11 Apr 2008 22:40:11 +0800,    group: microsoft.public.inetsdk.programming.webbrowser_ctl        back       


catch the url clicked in MSN pop window?   
I developed a localized IE, and set as default browser,

When I clicked a link in MSN pop window, I found my app was launched with 
command "-embedding",

but no URL!  how can I get the url clicked in MSN pop window?

Any help is welcomed,

Big Smith
date: Fri, 11 Apr 2008 22:40:11 +0800   author:   Big Smith

Re: catch the url clicked in MSN pop window?   
Big Smith  wrote:
> I developed a localized IE, and set as default browser,
>
> When I clicked a link in MSN pop window, I found my app was launched
> with command "-embedding",

When you say you set your app as default browser, what precisely do you 
mean? What registry settings have you altered?

It appears you have set your executable up as a COM server under 
InternetExplorer's CLSID.
-- 
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: Fri, 11 Apr 2008 13:05:31 -0400   author:   Igor Tandetnik

Re: catch the url clicked in MSN pop window?   
Yeah,

I do many registration work (study from another Avant browser, the one 
change is the InternetExplorer's CLSID).
But that browser(also use IE kernel) can catch the url clicked in MSN pop 
window,
Does it implement the InternetExplorer.Application com itself?
or it just hook the IWebbrowser2's Navigate method?
How can I do these?

thanks Igor!

Big Smith
"Igor Tandetnik"  
:uK%23QBZ$mIHA.5368@TK2MSFTNGP04.phx.gbl...
> Big Smith  wrote:
>> I developed a localized IE, and set as default browser,
>>
>> When I clicked a link in MSN pop window, I found my app was launched
>> with command "-embedding",
>
> When you say you set your app as default browser, what precisely do you 
> mean? What registry settings have you altered?
>
> It appears you have set your executable up as a COM server under 
> InternetExplorer's CLSID.
> -- 
> 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: Sat, 12 Apr 2008 09:08:16 +0800   author:   Big Smith

Re: catch the url clicked in MSN pop window?   
"Big Smith"  wrote in message
news:e7fSkkDnIHA.1188@TK2MSFTNGP04.phx.gbl
> Yeah,
>
> I do many registration work (study from another Avant browser, the one
> change is the InternetExplorer's CLSID).
> But that browser(also use IE kernel) can catch the url clicked in MSN
> pop window,
> Does it implement the InternetExplorer.Application com itself?
> or it just hook the IWebbrowser2's Navigate method?
> How can I do these?

Yes, if this is the way you want to go, you will have to write a COM 
server and implement IWebBrowser2 interface. Perhaps you can get away 
with implementing most methods trivially (e.g. just have them return 
E_NOTIMPL) and only fully support Navigate[2].

But I imagine you will break quite a few applications that want to 
automate Internet Explorer.
-- 
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: Fri, 11 Apr 2008 21:11:55 -0400   author:   Igor Tandetnik

Google
 
Web ureader.com


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