Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reason for Resource=On
Message
From
19/09/2013 14:07:41
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01583663
Message ID:
01583671
Views:
87
>What is a practical reason or application of having Resource=On in the Config.fpw for a VFP 9 application (executed by customers as .EXE file)? TIA.

From http://fox.wikis.com/wc.dll?Wiki~FoxUser
Fox User stores a variety of information, similar to the "property bag" concept of other languages. Some of these are very useful in an application, such as preventing the printing of reports from Print Preview, Hide the Print Button from the Print Preview Toolbar. It also stores:
Windows preferences and positions
Diary / Calendar data
Toolbar configurations
Most Recently Used (MRU) lists for IntelliSense

SET RESOURCE OFF if you don't need this feature in your client's runtime environment (to avoid VFP Rookie Mistakes), or toggle on and off resource files for specific functionality, like custom toolbars above.

The internal structure of the memo fields are not documented anywhere that I know of.

Use SYS(2007) to generate the checksum for a resource file entry (or make it invalid for to ignore it)

-- Ted Roche
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform