Solved

Preventing File Download Dialog box with IE automation

Posted on 2004-10-02
5
655 Views
Last Modified: 2011-09-20
I'm using an AxSHDocVw.AxWebBrowser to automate signing in, navigating to the correct page, and downloading some information to an Excel file.  I've made it to the correct page.  Now, how do I prevent the File Download dialog box from poping up and how can I enter the information it asks for programatically?

Thanks,

Melody
0
Comment
Question by:cvfn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 6

Expert Comment

by:danths
ID: 12211333
0
 

Author Comment

by:cvfn
ID: 12212442
Thank you for the links.

From the 2nd link, it seems that what I want can't be done.  Is this correct?

Melody
0
 
LVL 3

Accepted Solution

by:
jazduck earned 500 total points
ID: 12224409
Im not sure of the webbrowser class you are using, I would suggest using the WebClient class (System.Net.WebClient) for the actual download, as it will not pop up any dialog boxes.

Jaz
0
 
LVL 6

Expert Comment

by:danths
ID: 12226266
Yes, I would suggest webclient too.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question