Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error with FoxyPreviewer
Message
From
07/02/2014 15:41:45
 
 
To
07/02/2014 15:38:46
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:
01593715
Views:
48
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform