Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling Virtual Store in Win11
Message
From
24/11/2022 10:06:57
 
 
To
24/11/2022 08:57:36
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01685403
Message ID:
01685405
Views:
58
>>Good day all,
>>
>>Does anyone know how to disable the Virtual Store on Windows 11 Home edition?
>>VFP has the tendency to place the FXP files in the Local Virtual Store. This results in the application from seeing that the PRG has changed and does not run the last version of the procedure. So, because the Control Panel seems to now have the Administration Tools, I have been unable to locate the place where the disable it.
>>Or,
>>Is there a way to insure that VFP places the FXP in the folder the PRG are located?
>>
>>Thanks in advance
>>Greg
>
>In your config.fpw, add the line TEMPFILES = yourdrive\yourfolder.
>
>https://www.vfphelp.com/vfp9/_5wn12p2yg.htm
>
>Also make sure to Set Development On.

Thanks for the information.

I have written a VFP tool that can be called from within the VFP IDE. It will analysis the source code of other projects. I cannot ensure that this setting is included in the Config.fpw. Can I include the Config.fpw in the project and have not interfere with the current operating IDE environments.

Also, by default the SET DEVELOPMENT setting is ON.

As I understand, the Local Virtual Store is provided as a Windows security means to prevent various viruses and malware from invading local data.

The true problem is that VFP was designed before Vista (when the Local Virtual Store was implemented), and the FXP was expected to be where the PRG resides. So, altering the system setting will not only effect VFP applications, but also all applications installed. This will not go over well with the system administrators.

This issue is also affecting the Debugger. If the PRG is altered, the FXP in the Virtual Store may not be updated, the Debugger will look for the FXP in same folder as the PRG. If there is FXP in the PRG folder, but the one in the Virtual Store may be newer, the debugger will not see it and display that the source is out of date.

Sorry, just thinking out loud.
Greg
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform