I still don't see why the image won't display in the image well
Any help appreciated.
Brian
------ Forwarded Message
From: Brian Heibert <bheibert at verizon dot net>
Date: Sat, 29 May 2004 22:06:49 -0500
To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Grab image from web & display it
Hi,
I tried this:
Dim h As New HTTPSocket
Dim f As FolderItem = TemporaryFolder.Child("temp.gif")
Dim t As TextOutputStream = f.CreateTextFile
Dim URL As String =
"http://www.mapquest.com/maps/map.adp?
country=US&countryid=250&addtohistory&
searchtab=address&searchtype=address&address="+addinter.text+"&city="+c
ity.t
ext+"&state="+state.text+"&zipcode="+zip.text+"&search=++Search++"
Dim s As String = h.Get(url, 100)
t.Write s
t.Close
mapview.image = f.OpenAsPicture
and the map image stil won't display in my rb window
I wander why? Any help appreciated.
Brian
On 5/29/04 4:21 PM, "Charlie Boisseau" <lists at 006 dot co dot uk> wrote:
Dim h As New HTTPSocket
Dim f As FolderItem = TemporaryFolder.Child("temp.gif")
Dim t As TextOutputStream = f.CreateTextFile
Dim URL As String =
"http://www.apple.com/home/images/2004/05/office2004box05192004.jpg"
Dim s As String = h.Get(url, 100)
t.Write s
t.Close
Canvas1.Backdrop = f.OpenAsPicture
------ End of Forwarded Message
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>