Re: Delphi 4 basic, loading a picture from an internet address
- From: "Endoscope" <looking@xxxxxxxxxx>
- Date: Thu, 21 Apr 2005 19:06:05 GMT
"Maarten Wiltink" <maarten@xxxxxxxxxxxxxxxxxx> wrote in message
news:4267f0c1$0$152$e4fe514c@xxxxxxxxxxxxxxxxx
> "Endoscope" <looking@xxxxxxxxxx> wrote in message
> news:WnO9e.10$vU4.9@xxxxxxxxxxxxxxxxxxxxxxx
>
> > Say I have an image on a form. Is there a way I can write something
> > like Image1.Picture:='http://www.somewhere.com/picture.jpg'; and have
> > it work?
>
> Feed the URL to an HTTP client component. It knows how to retrieve the
> resource. If the component can give you the data as a stream, you can
> load the image from it directly; if it can only load into a buffer,
> you'll have to set up your own TMemoryStream or temporary file or some
> such.
>
> Groetjes,
> Maarten Wiltink
>
>
Err.... I shall now Google for HTTP client component. I didn't get one in
Delphi 4 basic, or I haven't looked hard enough.
Monster
Thanks
.
- Follow-Ups:
- Re: Delphi 4 basic, loading a picture from an internet address
- From: Bruce Roberts
- Re: Delphi 4 basic, loading a picture from an internet address
- References:
- Delphi 4 basic, loading a picture from an internet address
- From: Endoscope
- Re: Delphi 4 basic, loading a picture from an internet address
- From: Maarten Wiltink
- Delphi 4 basic, loading a picture from an internet address
- Prev by Date: Re: Delphi 4 basic, loading a picture from an internet address
- Next by Date: Re: Delphi 4 basic, loading a picture from an internet address
- Previous by thread: Re: Delphi 4 basic, loading a picture from an internet address
- Next by thread: Re: Delphi 4 basic, loading a picture from an internet address
- Index(es):