ppImage.Loadfromfile over the internet
I can use ppimage.loadfromfile(filenameandpath) where
filenameandpath is w:\filename and w: is a mapped drive to a
virtual folder on our webserver. But I can only map the drive on
a workstation, the windows 2003 server on which this app has to
run does not permit the drive mapping I require.
I have tried
filenameand path=http://www.mywebsite.com/2540668.jpg
path=http://217.199.xxx.yyy/samspics/2540/2540668.jpg
but both generate file not found errors.
filenameandpath is w:\filename and w: is a mapped drive to a
virtual folder on our webserver. But I can only map the drive on
a workstation, the windows 2003 server on which this app has to
run does not permit the drive mapping I require.
I have tried
filenameand path=http://www.mywebsite.com/2540668.jpg
path=http://217.199.xxx.yyy/samspics/2540/2540668.jpg
but both generate file not found errors.
This discussion has been closed.
Comments
The TppImage object itself does not have a LoadFromFile routine. There is
however a LoadFromFile routine available on the Picture property of the
TppImage which is a Delphi TPicture object. According to the help topic
TPicture.LoadFromFile, this method is used to specifically load a file from
disk. I do not believe it can be used to retrieve data from the internet.
I would suggest possibly using an Indy object to gain access to the image
information over the web.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com