![]() |
download images (incrementing url) ?
I'm not sure if this is something Visual Basic's for;
if not, would it be simplest with a scripting language or command prompt or what? I want to download a bunch of images to harddrive from internet all images have same URL exept the number increases for example I would do something like :
For X = 1 to 172 |
if you want a program that will do that you can get a crawler. this is one i have tried http://www.download.com/Advanced-Sit...-10155161.html
|
no programming language has the ability to go to a specified url & save it to computer?
The URLs are the URLs of the images; not of the pages that contain the images... is a web crawler necessary for this? |
try scripitng with wget
|
Quote:
|
For WebClient.DownloadFile Method, I don't know where to start; a console or windows application?
can I use this method within either one? If I do windows form, would I just replace Public Class Form1 with Public Class WebClient or do I have to edit the "meta-file" with <ComVisibleAttribute(True)> _ Public Class WebClient Inherits Component Also the only way I know how to trigger the method(download file) is through a button declared as Private Sub Button1_Click()... but can I declare Public Sub DownloadFile() inside of this^ Private ButtonClick Sub ? Then would I just stick the method inside of an incrementing loop ? For example :
Public Class Form1Is doing it through console or wget script is simpler (requires less steps) ? |
Quote:
Quote:
Quote:
Quote:
Quote:
|
:
Dim url As String = "http://www.whatever.com/blah/"I didn't declare any double variables so don't know how this happens I also tried converting the incrementing integer("times") to string, but didn't help :
Module Module1would turning option strict or ecplicit off help ? thanks |
Quote:
:
Dim times As Integer:
Dim fileName As String = "ring" + numba + ".jpg" |
yeah thanks for pointing out hehe
I just don't know how to execute it ("debug" is disabled), I did it as a console app (just a *.vb file, nothing else) |
| All times are GMT -5. The time now is 12:49 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC