Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I download a Picture into a File
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
How can I download a Picture into a File
Miscellaneous
Thread ID:
00530186
Message ID:
00530186
Views:
70
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.
Next
Reply
Map
View

Click here to load this message in the networking platform