Solved

Preventing File Download Dialog box with IE automation

Posted on 2004-10-02
5
649 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
  • 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now