PC Review


Reply
Thread Tools Rate Thread

Disable Open/Save Dialog in IE Page using VBA

 
 
noname
Guest
Posts: n/a
 
      11th Jul 2007
I am using VBA to locate an open https IE window & click on a download
image button on it, which then opens a new borderless IE window that
shows downloading the csv file. It then shows some security warning
(secured and unsecured content) and later gives a Open/Save dialog box
to save the downloaded file.

How can i disable the new webpage & just download the file to a
specified directory?
How can i disable the security warnings?
How can i disable/suppress the Open/Save dialog box & download the
file automatically to a specified directory.

Actually on the secured https page, i am looping the FirstPage &
NextPage links & since each page contains 500 records to download, it
comes in the form of a csv file for each page. So, i have to sit &
click all the dialogs & click on save dialog to save each csv file.( &
there are 900 pages).

i have tried diabling IE Security settings & also disabled Security
Center in WinXP, but still get the security warnings.

Can anyone help? I know it requires some windows shell programming but
dont know how to do it?


Cheers!

 
Reply With Quote
 
 
 
 
noname
Guest
Posts: n/a
 
      13th Jul 2007
Hi all,

Forgot to mention that the .csv file is generated on the fly thru a
Query run on the database. Could not capture the URL bcos it seems
encoded & hence cannot use URLDownloadToFile().

Can anyone help?


On Jul 12, 12:35 am, noname <sifar...@gmail.com> wrote:
> I am using VBA to locate an open https IE window & click on a download
> image button on it, which then opens a new borderless IE window that
> shows downloading the csv file. It then shows some security warning
> (secured and unsecured content) and later gives a Open/Save dialog box
> to save the downloaded file.
>
> How can i disable the new webpage & just download the file to a
> specified directory?
> How can i disable the security warnings?
> How can i disable/suppress the Open/Save dialog box & download the
> file automatically to a specified directory.
>
> Actually on the secured https page, i am looping the FirstPage &
> NextPage links & since each page contains 500 records to download, it
> comes in the form of a csv file for each page. So, i have to sit &
> click all the dialogs & click on save dialog to save each csv file.( &
> there are 900 pages).
>
> i have tried diabling IE Security settings & also disabled Security
> Center in WinXP, but still get the security warnings.
>
> Can anyone help? I know it requires some windows shell programming but
> dont know how to do it?
>
> Cheers!



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
disable save dialog box in word 07 Ramesh Microsoft Word Document Management 2 28th Aug 2008 12:17 PM
disable save as dialog box =?Utf-8?B?RGlvbg==?= Microsoft Excel Programming 2 5th Oct 2006 09:11 PM
How do you disable save file dialog? someone Microsoft Excel Setup 2 13th Feb 2005 12:02 AM
How do you disable save file dialog? someone Microsoft Excel Discussion 2 13th Feb 2005 12:02 AM
Possible to disable save/run dialog, force run? Matt Windows XP Internet Explorer 1 10th Oct 2004 05:51 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:50 AM.