i am trying to open a file in my default tif viewer but am having patchy results.
sometimes it works and sometimes it doesn't. the worst thing is that it was working yesterday and not today - and there was no change to the program or the network in the meantime.
i can't see anything wrong with the syntax. the filename and path is fine, because i can paste it into windows explorer and the image loads in the default viewer. however, the return value of the function is 2 (bad file path).
has anyone battled with this issue before, and succeeded, or even failed and knows why?
thanks!
sometimes it works and sometimes it doesn't. the worst thing is that it was working yesterday and not today - and there was no change to the program or the network in the meantime.
i can't see anything wrong with the syntax. the filename and path is fine, because i can paste it into windows explorer and the image loads in the default viewer. however, the return value of the function is 2 (bad file path).
has anyone battled with this issue before, and succeeded, or even failed and knows why?
thanks!