vba automatic ie download

Find a developer for your Excel triggered betting needs and advertise your development service here.

Moderator: 2020vision

vba automatic ie download

Postby macdos01 » Sat Oct 22, 2011 10:26 am

Hi all,

Although not quite a trigger betting question I have a macro which automatically uses IE to download a particular file. When downloaidng a file the 'file download' popup always appears with the save or open options. I have searched ages to find a way to either handle the popup cleanly (i.e. not using sendkeys or a macro recorder) or to prevent the dialog box popping up at all and for the file just to download to the default location.

I have found sites which claim to solve the problem both ways. In terms of handling the popup by getting a handle on the window and then a handle on the button - this is cool but when it comes to clicking on the button by using its handle the code has not worked.
In terms of adjusting IE's settings to just download the ifle and not prompt the user I have adjusted settings that make sense to me but the popup still appears.

If anyone has dealt with this situation and has an easy answer that would be appreciated. Thanks in advance.
macdos01
 
Posts: 19
Joined: Sat Jan 01, 2011 12:08 pm

Postby Shaun » Sat Oct 22, 2011 1:55 pm

Have you tried AutoHotKeys, when you speak of handles and such i am sure you have, is it possible to list the site so i may have a go at doing what you want.
Shaun
 
Posts: 435
Joined: Fri May 09, 2008 11:11 pm
Location: Kellerberrin, Western Australia

Postby macdos01 » Sun Oct 23, 2011 9:01 am

Thanks for the response. I managed to solve it - it was quite silly I had multiple versions of IE installed, so the settings I was changing wasn't doing as intended.
macdos01
 
Posts: 19
Joined: Sat Jan 01, 2011 12:08 pm


Return to Find an Excel developer

Who is online

Users browsing this forum: No registered users and 10 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.

cron