Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Load a jpeg in a Timage from an url

0 views
Skip to first unread message

trumph47

unread,
Sep 10, 2001, 2:54:57 PM9/10/01
to
Under Delphi 5, I would like to load a jpeg file from a URL into a Timage
If I sue the LoadFromFile('http://.....') method, I've a error (EFOpenError)
however, in conception mode (double click on [Picture...] - image editor)
it work fine ... even with an URL

Can you help me ? Sample source code or info ?

Mike Shkolnik

unread,
Sep 11, 2001, 6:11:28 AM9/11/01
to
You must download a file from web at first and only after that you can load
it to TImage. You can load an image from web using sockets or WinInet.dll -
read a few articles and check code samples in my Delphi tips section
(Email/Internet category)

--
With best regards, Mike Shkolnik
E-Mail: mshk...@scalabium.com
mshk...@yahoo.com
WEB: http://www.scalabium.com

trumph47 <fa00...@skynet.be> пишет в
сообщении:3b9d0cdb$0$36463$ba62...@news.skynet.be...

0 new messages