Results 1 to 2 of 2

Thread: new here and stupid beginner in VS2008

  1. #1

    Thread Starter
    New Member Thorsten.1961's Avatar
    Join Date
    Mar 2013
    Location
    Villach / Austria
    Posts
    1

    new here and stupid beginner in VS2008

    i've make (long time ago) a short VB5 Prog for archive my CD's, but how more i input is slows down more and more because i didn't understan to use SQL Database
    no i want to create a Image downloader for WebUrl's. because i didn't found what i need.
    maybe here is one who can help me with code and!!!!! explanation why this code is to use

    i have a textfield where to input the Url, but will be used as String to change automatically with counter, also the name of the image.

    like this: URL= http//gallery/AAA/BBB.jpg

    and i can change AAA and BBB by counter.

    and if the Image exist, to download and save in AAA Directory.

    best if i can tell the prog only download images with min sizes.

    thx for read it and more thx for all who will help and answer tht i understand the way from Prog-Code


    greetings from Austria ... Thorsten

  2. #2
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: new here and stupid beginner in VS2008

    Well, that's what variables are for... Instead of using the literal "AAA" and "BBB", you use some string variables and presto!... Your problem solved.
    Code:
    Dim AAA as String = "blablabla"
    Dim BBB as String = "whatever you want here"
    URL= String.Format("http//gallery/{0}/{1}.jpg", AAA, BBB)
    Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
    - Abraham Lincoln -

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width