Hi, I'm using the webbrowser control in vb.net. I have created a code which
1) logs into website
2) goes to url which contains file i want
3) save file dialog box appears with option to ("open","save","cancel")
I cannot figure out how to auto click the save button. I know that I need to figure out how to send the focus to the pop-up dialog window. And then use sendkeys but i'm not sure how to do this.
Furthermore, before I can even send the focus to the pop-up dialog window I need to add some event to let me know that it is the dialog box is even there.
One thing that is confusing is that it seems that once the pop-up save dialog box appears its like the code is "halted" until you click one of the buttons. If this is true then how is one to execute findwindow commands and such after the dialog box appears on the web page?
1) logs into website
2) goes to url which contains file i want
3) save file dialog box appears with option to ("open","save","cancel")
I cannot figure out how to auto click the save button. I know that I need to figure out how to send the focus to the pop-up dialog window. And then use sendkeys but i'm not sure how to do this.
Furthermore, before I can even send the focus to the pop-up dialog window I need to add some event to let me know that it is the dialog box is even there.
One thing that is confusing is that it seems that once the pop-up save dialog box appears its like the code is "halted" until you click one of the buttons. If this is true then how is one to execute findwindow commands and such after the dialog box appears on the web page?