Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I download a Picture into a File
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
How can I download a Picture into a File
Divers
Thread ID:
00530186
Message ID:
00530186
Vues:
69
Hi all!

I use the INET ActiveX Object to Access the Internet.
Problem Saving the given Array from a Gif-Url because FoxPro doesnt do it?
I'm trying to use the OpenURL("GET",1) Command, wich delivers an Array, wich holds Data.

In Visual Basic it would look like this:

Dim b() As Byte
Dim strURL As String
' strURL valid internet Adress
strURL = "http://www.levelextreme.com/VFPDevCon.jpg"
b() = Inet1.OpenURL(strURL, icByteArray)

Open "C:\Temp\VFPDevCon.jpg" For Binary Access _
Write As #1
Put #1, , b()
Close #1

Visual Basic knows how to save an Array, but FoxPro doesnt?
Marvin Blase (tA-logistic Software GmbH)
You'll never notice the good things if you haven't seen the bad.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform