And lets not forget the automization... put the part number into a FOR-NEXT
loop along
with the FORMAT function to set the URL name...
Dim x As Long
Dim URL As String
For x = 0 To 3
URL = "http:\\www.abc.com\page" + Format(x,"0#) + ".pdf"
'insert download function here -- example: Call Dload(URL)
DoEvents
Next x
"Dean Earley" <dean.earley@icode.co.ukwrote in message
news:4781ee07$0$13926$fa0fcedb@news.zen.co.uk...
Quote:
Originally Posted by
MHMol wrote:
Quote:
Originally Posted by
>Hi all
>Can anyone tell me how to save pdf files on the internet with VB.
>The pdf files are numbered sequentially, so let's say the URL is:
>>
>"http:\\www.abc.com\page01.pdf"
>"http:\\www.abc.com\page02.pdf"
>"http:\\www.abc.com\page03.pdf"
>etc.
>>
>I've been manipulating a sample program (ActXDoc.vbp), so that it
>produces these files just by clicking a button. But it is very tiresome
>to have to save them all by hand. Is there someway to automize this
>proces and save these pdf's directly into a file on the harddisk?
|
>
Use the Inet transfer control (or inet API) to download the URL.
It makes no difference what file type it is.
>
--
Dean Earley (dean.earley@icode.co.uk)
i-Catcher Development Team
>
iCode Systems
|