PDA

Click to See Complete Forum and Search --> : umm


BitBlt
Dec 4th, 2000, 08:57 AM
I'm thinking of writing program that downloads all the pages of a specific website to a directory on my hard drive, then change all the "href=http://this site" to "href=C:\whatever.htm".

the reason i want to do this is that i found a couple of books in html format and i don't want to spend what little time i have, on the internet reading books :)

so how would i get the program to download all the pages in a certain directory e.g:"http://www.books.com/tyvb21/"?

thnx!!

Bill Gates
Dec 4th, 2000, 09:21 AM
IE5 already does this

Dec 4th, 2000, 10:45 AM
You can use the Webbrowser Control (or reference IE) to do it, and use this code to download all pages.

WebBrowser1.ExecWB OLECMDID_SAVEAS,OLECMDEXECOPT_PROMPTUSER