• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 664
  • Last Modified:

Preventing File Download Dialog box with IE automation

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
cvfn
Asked:
cvfn
  • 2
1 Solution
 
cvfnAuthor Commented:
Thank you for the links.

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

Melody
0
 
jazduckCommented:
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
 
danthsCommented:
Yes, I would suggest webclient too.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now