Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error with FoxyPreviewer
Message
From
07/02/2014 15:36:11
 
 
To
07/02/2014 06:48:57
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01593611
Message ID:
01593713
Views:
103
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform