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 18:26:33 -0700 (PDT),    group: microsoft.public.inetsdk.programming.urlmonikers        back       


using Passthruapp with IE   
Hi all,

I am new to PassthruAPP & require some help.

There are 2 issues that I am facing.

1. I want to record all http request - response for Internet Explorer.
What changes do I need to do to achieve this.

2. I want Passthruapp to run in background --- i.e . when a user
navigates to a page through Internet Explorer he should not come to
know about PassthruApp being running.

How to disable the PassthruAPP GUI (window that is displayed)  & show
the page as in Internet Explorer.
date: Tue, 18 Mar 2008 18:26:33 -0700 (PDT)   author:   unknown

Re: using Passthruapp with IE   
wrote in message
news:d8a01530-8902-4be1-88eb-847f47648baf@s8g2000prg.googlegroups.com
> How to disable the PassthruAPP GUI (window that is displayed)  & show
> the page as in Internet Explorer.

PassthruAPP itself doesn't have any GUI. My sample project that 
demonstrates the APP does. You'll need to study and understand the 
sample, then you'll realize which parts are the meat and which are just 
for show.
-- 
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 22:04:04 -0400   author:   Igor Tandetnik

Re: using Passthruapp with IE   
On Mar 19, 7:04 am, "Igor Tandetnik"  wrote:
>  wrote in message
>
> news:d8a01530-8902-4be1-88eb-847f47648baf@s8g2000prg.googlegroups.com
>
> > How to disable the PassthruAPP GUI (window that is displayed)  & show
> > the page as in Internet Explorer.
>
> PassthruAPP itself doesn't have any GUI. My sample project that
> demonstrates the APP does. You'll need to study and understand the
> sample, then you'll realize which parts are the meat and which are just
> for show.
> --
> 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

Hi Igor,

I am new to APP, so it is bit difficult to digest the code.
what I understood from the code is that  we take the IwebBrowser2
pointer of the dialog window and call the navigate method, then we get
the page in the dialog window.

What I tried with it is -- I removed the dialog window code & started
an instance of IE within that code . I used the following code.

hr = CoCreateInstance (CLSID_InternetExplorer, NULL, CLSCTX_SERVER,
IID_IWebBrowser2, (LPVOID*)&pWebBrowser);

with the above statement i got the IWebBrowser2  pointer of the
Internet Explorer window and then used it to navigate to a URL.

The naviigation was succcessful but the code didnt gave me any http
request or response details .
I monitored the BeginningTransaction method of the APP, it was never
called for the navigation made by this instance of IE.

So anyway to solve the issue ?

Please help !!!

Thanks & eagerly waiting your reply.
Hitesh.
date: Wed, 19 Mar 2008 11:37:05 -0700 (PDT)   author:   unknown

Re: using Passthruapp with IE   
genius1232@yahoo.co.in wrote:
> I am new to APP, so it is bit difficult to digest the code.
> what I understood from the code is that  we take the IwebBrowser2
> pointer of the dialog window and call the navigate method, then we get
> the page in the dialog window.

This is not part of the APP - it's just there to generate some HTTP 
requests for APP to intercept.

> What I tried with it is -- I removed the dialog window code & started
> an instance of IE within that code . I used the following code.
>
> hr = CoCreateInstance (CLSID_InternetExplorer, NULL, CLSCTX_SERVER,
> IID_IWebBrowser2, (LPVOID*)&pWebBrowser);

This creates a standalone instance of Internet Explorer as a separate 
process. An APP is registered per-process: an APP you register in your 
application has no effect on that IE instance (which, again, runs in a 
separate process). You must register your APP from inside IE's process.
-- 
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 14:45:11 -0400   author:   Igor Tandetnik

RE: using Passthruapp with IE   
I also have this problem, is there a way to attached passthru to IE? do you 
have any code sample?...I really need help on this..tnx!

"genius1232@yahoo.co.in" wrote:

> Hi all,
> 
> I am new to PassthruAPP & require some help.
> 
> There are 2 issues that I am facing.
> 
> 1. I want to record all http request - response for Internet Explorer.
> What changes do I need to do to achieve this.
> 
> 2. I want Passthruapp to run in background --- i.e . when a user
> navigates to a page through Internet Explorer he should not come to
> know about PassthruApp being running.
> 
> How to disable the PassthruAPP GUI (window that is displayed)  & show
> the page as in Internet Explorer.
> 
>
date: Wed, 14 May 2008 02:42:00 -0700   author:   IanRey

RE: using Passthruapp with IE   
Hi, have you found a way to attach passthruApp to IE, do you have any code 
sample, I really need to implement this too.
Tnx!

"genius1232@yahoo.co.in" wrote:

> Hi all,
> 
> I am new to PassthruAPP & require some help.
> 
> There are 2 issues that I am facing.
> 
> 1. I want to record all http request - response for Internet Explorer.
> What changes do I need to do to achieve this.
> 
> 2. I want Passthruapp to run in background --- i.e . when a user
> navigates to a page through Internet Explorer he should not come to
> know about PassthruApp being running.
> 
> How to disable the PassthruAPP GUI (window that is displayed)  & show
> the page as in Internet Explorer.
> 
>
date: Wed, 14 May 2008 02:50:01 -0700   author:   IanRey

Google
 
Web ureader.com


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