Chris Moore wrote:
I am developing a web app that presents images to a viewer depending on choices made from a web browser.

If the image exists (fileexists function) show it, other wise show a default image.
fileexists ALLWAYS returns false. I can view all the images if I do not error check. Any Ideas?

It strikes me that you might be trying to use FileExists to check for the existence of files that aren't on the same computer as the one your program is running on. FileExists only works with file names, not URLs. It should work with network paths (e.g., \\server\share\dir\file), but not file-path URLs (e.g., file://server/drive|/dir/file).


--
Rob

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to