🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.web
5 messages
5 total messages Started by Mitch McInelly Thu, 26 May 2005 18:03
TCppWebBrowser OnNewWindow2 and https not working
#1139
Author: Mitch McInelly
Date: Thu, 26 May 2005 18:03
29 lines
2403 bytes
Hi,

I've written an app that interacts with https insurance company websites. 
Due to the confiential nature of these sites,  I must speak in generalities 
rather than specifics.

My problem is the following:

When I go to an insurance company website using my regular Explorer browser, 
I log in with my user name and password, navigate to a client's record, then 
click a Submit button to produce a PDF document such as an ID Card or 
Certificate of Insurance - which pops up in an external window without fail.

If I use the embedded TCppWebBrowser to this, all is fine until I go to 
click the Submit button.  Instead of producing the document - I am prompted 
to log in again.

I have tried adding a second browser to my form and intercepting the 
OnNewWindow2 event to it with *ppDisp = Browser2->Application.  This only 
produces a  "about:blank" in the second browser.

I realize that this is a very generic description and probably can't be 
solved here.  If anyone would be willing to sign a non-disclosure document 
and be interested in working with me as a consultant to help solve this 
problem, please email me at mitch@agencysoftware.com or phone me at 
(800)342-7327 ext.11.

Mitch McInelly
Agency Software, Inc.
Re: TCppWebBrowser OnNewWindow2 and https not working
#1140
Author: Remy Lebeau (TeamB)
Date: Thu, 26 May 2005 18:10
15 lines
1408 bytes
"Mitch McInelly" <mitch@agencysoftware.com> wrote in message
news:42960f59$1@newsgroups.borland.com...

> I have tried adding a second browser to my form and intercepting
> the OnNewWindow2 event to it with *ppDisp = Browser2->Application.
> This only produces a  "about:blank" in the second browser.

Try using the browser's ControlInterface property instead of its Application
property.

    *ppDisp = Browser2->ControlInterface;


Gambit
Re: TCppWebBrowser OnNewWindow2 and https not working
#1144
Author: Mitch McInelly
Date: Fri, 27 May 2005 15:32
32 lines
1984 bytes
Hi Remy,

This didn't work either.  It still sends the second browser to "about:blank"

If you know of anyone who would be willing to help me, I am willing to pay 
$500 to make this problem go away.  For someone with experience using DOM 
it's probably a very simple solution.

Thanks for the response.

Mitch

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:4296111d$1@newsgroups.borland.com...
>
> "Mitch McInelly" <mitch@agencysoftware.com> wrote in message
> news:42960f59$1@newsgroups.borland.com...
>
>> I have tried adding a second browser to my form and intercepting
>> the OnNewWindow2 event to it with *ppDisp = Browser2->Application.
>> This only produces a  "about:blank" in the second browser.
>
> Try using the browser's ControlInterface property instead of its 
> Application
> property.
>
>    *ppDisp = Browser2->ControlInterface;
>
>
> Gambit
>
> 
Re: TCppWebBrowser OnNewWindow2 and https not working
#1145
Author: Remy Lebeau (TeamB)
Date: Fri, 27 May 2005 16:57
15 lines
1345 bytes
"Mitch McInelly" <mitch@agencysoftware.com> wrote in message
news:42973da0$1@newsgroups.borland.com...

> This didn't work either.  It still sends the second browser to
"about:blank"

Works fine for me when I use it.  The second browser navigates to the new
resources properly.

Can you please provide an actual URL for something that does not work for
you?


Gambit
Re: TCppWebBrowser OnNewWindow2 and https not working
#1146
Author: Mitch McInelly
Date: Fri, 27 May 2005 17:10
27 lines
1849 bytes
Remy,

The information on the website is confidential so I cannot publish it in the 
newsgroup.  If you send me your email address, I will be glad to send it.

Mitch McInelly


"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:42975160$1@newsgroups.borland.com...
>
> "Mitch McInelly" <mitch@agencysoftware.com> wrote in message
> news:42973da0$1@newsgroups.borland.com...
>
>> This didn't work either.  It still sends the second browser to
> "about:blank"
>
> Works fine for me when I use it.  The second browser navigates to the new
> resources properly.
>
> Can you please provide an actual URL for something that does not work for
> you?
>
>
> Gambit
>
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads