Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows 7 and 8 Proper VFP App Setup
Message
From
30/06/2014 06:14:42
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
 
To
24/06/2014 09:42:39
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP3
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01601263
Message ID:
01602876
Views:
65
>>Install the application where it belongs, Program Files or Program Files (x86). If data is local, put it in \Users\Public\YourApp or \Users\UserName\AppData if the data is per user.

FWIW, UAC sometimes seems to be able to identify an executing app's folder and add protection, after which writing to subfolders requires elevation. So your apps are protected- but can't write to the data or ini files etc. So I agree with the advice re program files (x86) and data completely separately in %appdata% or %programdata% or on a share, depending what you're up to.

To the OP- also consider that ini files and foxuser.dbf are read-only if they're in the app folder...
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Previous
Reply
Map
View

Click here to load this message in the networking platform