We help IT Professionals succeed at work.
Get Started

Recording full HTTP address that appears in Explorer's status bar to a string variable.

TimHudspith asked
Last Modified: 2010-04-07
I'm developing an application that stores a list of files and their locations at various web addresses. These details are stored in the application so that the files can be downloaded automatically each month using URLDownloadToFile in one fell swoop.

I want the user to load up the file details as follows:
1. Open an instance of explorer
2. Navigate to a site that holds several comboboxes which determine which file is downloaded
3. User makes the usual selections from the combo boxes, then presses "Export to Excel"
4. At this point, everything that has happened so far is part of the normal manual download process. Once the "Export . . ." button is pressed, a download dialog box opens asking the user whether he wants to open or save. It is at this point that the full HTTP address (including the filename) shows in Explorer's status bar in the bottom left. I need a way of recording this address to a string variable that will be displayed in a ListView in my application (and eventually passed to URLDownloadToFile when the user performs the monthly automatic download process).

Does anyone know the answer?
Watch Question
This problem has been solved!
Unlock 2 Answers and 17 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE