>>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
Christian Isberner
Software Consultant