Solved

Preventing File Download Dialog box with IE automation

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Expression Evaluater 3 45
Sending receiving text messages in vb.net 15 62
vb.net winforms sizing/resolution? 4 55
VB.NET Inline If statement 4 40
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…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

756 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