Steve,
I discovered the source of the problem, and it is apparently related to
the CGI program on the Web server!
I found that I had the same problem when I tried to access a particular
graphic from a regular Web browser. Either it worked, or I got a "File
Not Found" message.
Here's why. Here's the URL for a typical graphic:
http://www-users.cs.york.ac.uk/~fisher/tmpdir/gnt/110404.gif
The important thing to note is this part of the URL: "tmpdir".
Apparently (and I have no idea why), the CGI program only puts a GIF
file in the tempdir/gnt folder when the graphics file is needed,. i.e.,
when a call is made to display all the verses for a particular
chapter. (I was able to look at the date stamp for the files in that
directory to confirm that this is what seems to be taking place.)
My program now seems to work, with the addition of the following code
before the desired display of a single verse/graphic.
HTMLViewer1.LoadURL
"http://www-users.cs.york.ac.uk/~fisher/cgi-bin/gnt?id="_
+ TheBook + TheChapter
Another mystery solved! Thanks for comments that got me thinking in the
right direction.
Barry Traver
______________________________
Steve Garman wrote:
Assuming it's not just a server fault, my guess would be the CGI has a
timeout built in, or perhaps a bandwidth restriction.
Do you get better results with this?
M = "http://www-users.cs.york.ac.uk/~fisher/tmpdir/gnt/" _
+ TheBook + TheChapter + TheVerse + ".gif"
HTMLViewer1.LoadURL M
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>