Hello All,
Its a bit more complicated than the subject line implies.
A website that I use for information allows me to click on a link and their .PDF displays in IE's browser window.. Since this data has a life-span
of about a week (replaced by a newer updated one on a daily basis) and if I happen to miss a day viewing and recording the info I want, its gone
forever.
To solve this problem, I wrote a small app to retrieve their index page of the info into a vb.net webbrowser control. This works fine for viewing,
but now I want to save the retrieved file as a .PDF on my local system. (It does bring up the Adobe toolbars and commands in the browser window and I
can save from there.) I want this to be "automatic" so I can set my app to run through the task scheduler and I won't have to be present to download.
The .PDF files are not accessible directly from a directory. Each of the links from the index page is directed to a Javascript (I believe) routine
with some parameters. And apparently from that script, the proper location of the file is determined and subsequently returned to my browser control
as a PDF file.
A sample of my code is below. (After the Navigate command, how do I save the contents of wbPage as a PDF?) Can I essentially do a Navigate directly
onto a local drive?
Thanks,
Hexman