Results 1 to 3 of 3

Thread: iNET File Downloading

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 1999
    Location
    New Orleans, LA
    Posts
    6

    Post

    This is what I'm trying to do.. I want to beable for my prgoram to to check the web for updates, but I dont want it do go though the FTP server of my home page, I want to download the image straight to the program for the http source.

    ex: http://kenshome.hypermart.net/logo.jpg - I want to download this right to the program into a picture box.

    Thanks to anyone that could help.

  2. #2
    Lively Member benski's Avatar
    Join Date
    Sep 1999
    Location
    UK
    Posts
    126

    Post

    I am a beginner here myself, but I have found this method:

    1. Add the component "Microsoft Internet Transfer Control" to your toolbox
    2. Put one on your form
    3. In your sub:
    Dim b() as byte
    Dim i as integer
    b() = Inet1.OpenURL("http://kenshome.hypermart.net/logo.jpg
    ", 1)
    i = FreeFile
    Open App.Path & "\logo.jpg" For Binary Access Write As i
    Put i , , b()
    Close i

    4. Point your picture box to this file.

    I know this is a bit convoluted, but it should give you a picture of three coloured dots with the text "RGB Software" next to it!

    [This message has been edited by benski (edited 10-18-1999).]

  3. #3

    Thread Starter
    New Member
    Join Date
    Oct 1999
    Location
    New Orleans, LA
    Posts
    6

    Post

    Benski it worked!!! Thanks man...

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