PDA

Click to See Complete Forum and Search --> : iNET File Downloading


nopd
Oct 18th, 1999, 12:27 AM
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.

benski
Oct 18th, 1999, 12:45 AM
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).]

nopd
Oct 18th, 1999, 01:16 PM
Benski it worked!!! Thanks man... :)