gypsyjoe11
Registered User.
- Local time
- Today, 02:47
- Joined
- Feb 19, 2010
- Messages
- 46
Hi Everyone,
I'm trying to make a program at work that opens up an IE object in it's own window and navigates to a certain page and then downloads a file.
What I have so far is a program that:
1. Opens IE to the login page
2. Opens up a hidden Excel file with a timer to handle Java pop up confirmation boxes (IE freezes all running threads from the calling application before the pop-up comes up)
3. Logs in and presses ok on the javascript confirmation popup box
4. Presses the Javascript and imagebox items to navigate to the correct sub menus
5. Clicks on the javascript link that creates the CSV file for download.
But then the IE information bar comes up saying that it has disabled the download.
I don't have permission to disable the IE notification toolbar. I could use the mouse stream and inject a mouse click at the correct position using sendInput API. However, I this would cause problems when users are using different programs at the same time.
I'm trying to do this the correct way using the IE object. Does anyone have any ideas?
thanks,
Joe
I'm trying to make a program at work that opens up an IE object in it's own window and navigates to a certain page and then downloads a file.
What I have so far is a program that:
1. Opens IE to the login page
2. Opens up a hidden Excel file with a timer to handle Java pop up confirmation boxes (IE freezes all running threads from the calling application before the pop-up comes up)
3. Logs in and presses ok on the javascript confirmation popup box
4. Presses the Javascript and imagebox items to navigate to the correct sub menus
5. Clicks on the javascript link that creates the CSV file for download.
But then the IE information bar comes up saying that it has disabled the download.
I don't have permission to disable the IE notification toolbar. I could use the mouse stream and inject a mouse click at the correct position using sendInput API. However, I this would cause problems when users are using different programs at the same time.
I'm trying to do this the correct way using the IE object. Does anyone have any ideas?
thanks,
Joe