Downloading with the webbrowser control

snoopdog

New member
Joined
Jun 21, 2007
Messages
2
Programming Experience
1-3
I have almost gotten to the end of a small project and hitting a stopping point. I have used the webbrowser control in vb.net 2008 to navigate an internal website to get information daily, to be inserted into a database. All was going fine till I needed to be able to download an Adobe PDF with the browser control. I cannot find a method to do this, does it exist ?

So far I have been able to use the webbrowser control to put in the persons credentials, set some dropdown boxes for the type of reports we want to pull, click submit buttons and it has worked flawlessly. I then use regular expressions to scrape the urls of the reports I need. I can then navigate to the Adobe PDF links and bring them up in the browser. I then need to save those documents to the server and cannot do so. I tried using the webclient control just for this portion but the server has form based logins and I will have to recreate the wheel so to speak. Can the webbrowser control not save a document ?
 

Latest posts

Back
Top