>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. By default there are privilege restrictions to that folder.
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 .
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