For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > September 2004 > Closing dialog boxes with code









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Closing dialog boxes with code
Nate Taylor

2004-09-24, 8:55 pm

I'm using the Internet Explorer object in MS Access 2003 to navigate an HTML
page and automically fill in a form with values from the database. When I
click the submit button, Internet Explorer pops up a security alert that
states "You are about to be redirected to a connection that is not secure."
then "Do you wish to continue?" Yes or No.

I don't want to have to manually click the Yes button to continue. I have
listed the website as a Trusted Site in IE's security settings and turned off
all the prompts. I have unchecked all the "Warn before . . ." options in
IE's advanced settings.

The DTHML object model has several methods to launch such dialog boxes
(alert, confirm, etc.), but I can't find any way to access the dialog box in
code once it's launched.

It seems that there has got to be a way to access this box and click "Yes"
(maybe through the WinAPI but I don't know how to do that) from code so that
it doesn't require manual intervention. In advance, thanks for any help.


Bonj

2004-09-28, 3:55 pm

tongue-in-ch-code and non-VB warnings both apply,

but

http://www.planet-source-code.com/v...=2091&lngWId=10

may have logic that can be adapted to suit your needs



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com