Solved

Preventing File Download Dialog box with IE automation

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

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

617 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