Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21264

Reading selected files in a text file

$
0
0
ok guys , i have a big challenge that i can not get out , i have worked on vb6 many years ago and then i stopped , but now i am starting again and the simple stuff i can handle , but this one i am presenting here i never did before , so i do not even know how to start .
my objective is to pick a text file from a server , read a selected lines where file extension jpg his from the beginning .

lets say that text file is something like this inside :

http://somesite/pickthisfile.jpg description , bla bla bla
do not delete it
http://somesite/pickit.jpg description , blu blu blu
delete this file
etc.....

What i need is a routine that can read only the links in the text file and not the text "description" .
and the routine must read all the lines in text file until the end of it .
something like this

read link -> place as a variable ex: a
then i will use inet to download that link .
then read next link -> inet again to download that link .

I do not need inet programming code , i just need the code to read the text file line by line and link by link .

anyone to the challenge ?

Thanks you all for the patience ;)

Viewing all articles
Browse latest Browse all 21264

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>