Hi, I'm currently trying to make a program that opens a web page, and uploads a file to the webserver. The web page has a captcha on it to stop bots just uploading loads of files, so I can't simply send the file through "post" or whatever it's called.
I've got to a point where I'm stuck and hopefully I can find help from you bunch of great coders.
I open the open file dialog from the web page with:
Next I need to use AutomationElement(I think) to input the file name and click Open in the open file dialog.
Hopefully the dialog can be hidden aswell?
If someone could help me with that, any help would be greatly appreciated.
Thanks,
yhack
I've got to a point where I'm stuck and hopefully I can find help from you bunch of great coders.
I open the open file dialog from the web page with:
Code:
HtmlDocument doc = this.webBrowser1.Document;
doc.Body.All["file"].InvokeMember("click");
Next I need to use AutomationElement(I think) to input the file name and click Open in the open file dialog.
Hopefully the dialog can be hidden aswell?
If someone could help me with that, any help would be greatly appreciated.
Thanks,
yhack
Last edited: