down load code in vb6

Discussion in 'Visual Basic ( VB )' started by Cseek, Dec 13, 2009.

  1. Cseek

    Cseek New Member

    Joined:
    Dec 1, 2009
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    train driver
    Location:
    hubli / karnataka
    Home Page:
    http://www.gmail.com
    with vb6 + mySql 4.1

    i am having a blob field called (images) in data base db1
    my doubts are.

    (1) how can i down load the file on to hard disk over a hot line net work from the server
     
  2. Cseek

    Cseek New Member

    Joined:
    Dec 1, 2009
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    train driver
    Location:
    hubli / karnataka
    Home Page:
    http://www.gmail.com
     
  3. ManzZup

    ManzZup New Member

    Joined:
    May 9, 2009
    Messages:
    278
    Likes Received:
    43
    Trophy Points:
    0
    Occupation:
    Production Manager:Software @ ZONTEK
    Location:
    Sri Lanka
    Home Page:
    http://zontek.zzl.org
    write i did it

    i thnk you'll have already got the string of the path of the image using the sql queerty
    then suppose

    dim strImg as string = "127.0.0.1/images/test.png"

    my.computer.network.downloadFile(strImg, my.computer.filesystem.specialdirectories.desktop)

    ohh i forget'
    use try catch block
    because you'll sure have eroorss!!
     
    shabbir likes this.
  4. Cseek

    Cseek New Member

    Joined:
    Dec 1, 2009
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    train driver
    Location:
    hubli / karnataka
    Home Page:
    http://www.gmail.com
    sorry if i missed the info
    My front end is being written in VB6
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice