| View previous topic :: View next topic |
| Author |
Message |
Mitch McInelly Guest
|
Posted: Thu May 26, 2005 6:03 pm Post subject: TCppWebBrowser OnNewWindow2 and https not working |
|
|
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 [email]mitch (AT) agencysoftware (DOT) com[/email] or phone me at
(800)342-7327 ext.11.
Mitch McInelly
Agency Software, Inc.
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Thu May 26, 2005 6:10 pm Post subject: Re: TCppWebBrowser OnNewWindow2 and https not working |
|
|
"Mitch McInelly" <mitch (AT) agencysoftware (DOT) com> wrote
| Quote: | 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
|
|
| Back to top |
|
 |
Mitch McInelly Guest
|
Posted: Fri May 27, 2005 3:32 pm Post subject: Re: TCppWebBrowser OnNewWindow2 and https not working |
|
|
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 (AT) no (DOT) spam.com> wrote
| Quote: |
"Mitch McInelly" <mitch (AT) agencysoftware (DOT) com> wrote in message
news:42960f59$1 (AT) newsgroups (DOT) 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
|
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Fri May 27, 2005 4:57 pm Post subject: Re: TCppWebBrowser OnNewWindow2 and https not working |
|
|
"Mitch McInelly" <mitch (AT) agencysoftware (DOT) com> wrote
| Quote: | 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
|
|
| Back to top |
|
 |
Mitch McInelly Guest
|
Posted: Fri May 27, 2005 5:10 pm Post subject: Re: TCppWebBrowser OnNewWindow2 and https not working |
|
|
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 (AT) no (DOT) spam.com> wrote
| Quote: |
"Mitch McInelly" <mitch (AT) agencysoftware (DOT) com> wrote in message
news:42973da0$1 (AT) newsgroups (DOT) 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
|
|
|
| Back to top |
|
 |
|