hatman
Well-known Member
- Joined
- Apr 8, 2005
- Messages
- 2,664
Once upon a time our Maintenance department used a software package that sat on top of an Oracle Database within our network to manage all planned and unplanned Maintenance activities. A decade ago I built various automated reports from the background tables and created tools to allow the production schedulers to plan around machine downtimes.
Fast forward to Cloud Computing. Data is now housed somewhere outside of our network. The only access I seem to have is to use IE to log into the Maintenance Vendors site and fill in the various fields on the search page to return a report of all open requests. The results get returned in the Explorer Window, with an option to export results to Excel. No Problem. A Simple IE Automation gets me to this point. I can even use the .Click method of the Excel Link Object to start the download process automatically. Where I get Stymied is that a sweep of all Windows using Windows API's does not expose the Open, Save, Cancel buttons in the standard IE Popup that asks what do you want to do with this file. I can't get the HWND of these buttons to press them with code. The .href property of the link is some ASP routine, so the URLDownlad API does not work.
Please help...
Fast forward to Cloud Computing. Data is now housed somewhere outside of our network. The only access I seem to have is to use IE to log into the Maintenance Vendors site and fill in the various fields on the search page to return a report of all open requests. The results get returned in the Explorer Window, with an option to export results to Excel. No Problem. A Simple IE Automation gets me to this point. I can even use the .Click method of the Excel Link Object to start the download process automatically. Where I get Stymied is that a sweep of all Windows using Windows API's does not expose the Open, Save, Cancel buttons in the standard IE Popup that asks what do you want to do with this file. I can't get the HWND of these buttons to press them with code. The .href property of the link is some ASP routine, so the URLDownlad API does not work.
Please help...