I have a very small Access 2002 application which works on Windows 7, but the same coding on Access 2013 with Windows 8 does not work. I think the issue is that once an image is downloaded, it is being cached on the Access 2013/Windows 8 computer.
I monitor a wildlife cam which has refresh images every 15 seconds, no live streaming. Their website refreshes the image every 15 seconds, displays the refreshed image in a box on the website page, and the image always has the same name, eagle.jpg.
I wrote a little code that runs a timer - and every 15 seconds runs the code to download the image eagle.jpg into a folder with the name eagle20150110 1255.jpg - i.e., the exact date and time so that I can save many hours of images and review them all later as I cannot watch the cam all day.
This coding has worked perfectly on the 2003/Windows 7 system and still does, but on the 2013/Windows 8.1 the image does not refresh - in other words, the exact same image keeps getting downloaded every 15 seconds even though on the webiste it is refreshin. I think the computer "thinks" it was successful in downloading the requested image and therefore repeats it.
Other than the loop for the 15 second timing, my line of code is:
strWebsite is the URL for the website
strPath is the location on the computer where to save the files.
URLDownloadToFile 0, strWebsite, strPath, 0, 0
Once 10 hours have elapsed, the loop ends and I have 10 hours of images to preview. It works perfectly on one computer but not the other.
Thanks
Laura
I monitor a wildlife cam which has refresh images every 15 seconds, no live streaming. Their website refreshes the image every 15 seconds, displays the refreshed image in a box on the website page, and the image always has the same name, eagle.jpg.
I wrote a little code that runs a timer - and every 15 seconds runs the code to download the image eagle.jpg into a folder with the name eagle20150110 1255.jpg - i.e., the exact date and time so that I can save many hours of images and review them all later as I cannot watch the cam all day.
This coding has worked perfectly on the 2003/Windows 7 system and still does, but on the 2013/Windows 8.1 the image does not refresh - in other words, the exact same image keeps getting downloaded every 15 seconds even though on the webiste it is refreshin. I think the computer "thinks" it was successful in downloading the requested image and therefore repeats it.
Other than the loop for the 15 second timing, my line of code is:
strWebsite is the URL for the website
strPath is the location on the computer where to save the files.
URLDownloadToFile 0, strWebsite, strPath, 0, 0
Once 10 hours have elapsed, the loop ends and I have 10 hours of images to preview. It works perfectly on one computer but not the other.
Thanks
Laura