>>>I am getting an error when loading FoxyPreviewer:
>>>
>>>File access is denied c:\foxypreviewer_log.txt.
>>>
>>>foxylistener
>>>Error: 1705
>>>Method: init
>>>Line: 2
>>>
>>>DELETE FILE ("c:\FoxyPreviewer_Log.txt")
>>>
>>>I am calling FoxyPreviewer.app with a parameter that should direct the temporary directory to the windows temp folder.
>>>
>>>DO FoxyPreviewer.app WITH (poAppContr.TemporaryDirectory)
>>>
>>>So why should it try to delete the log file on c:?
>>
>>What is the value of poAppContr.TemporaryDirectory you're trying to pass? If it doesn't exist maybe FoxyPreviewer tries to use the root of C: instead.
>>
>>Instead of that value you could use SYS(2023) or get the Windows temp folder as shown in
https://groups.google.com/forum/#!topic/microsoft.public.fox.programmer.exchange/FKimso6rsa8 .
>
>I get the same error with any directory I specify. In fact, I get the error also when I just call
>
>DO foxypreviewer.app
>
From the docs:
"IMPORTANT: Make sure to store the file FoxyPreviewer.App in a folder that has READ/WRITE permissions, because it will create and store some helper files that it needs to use at the same folder."
It sounds like a permissions issue.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up