Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP folder is ReadOnly
Message
From
07/07/2021 18:18:15
 
 
To
07/07/2021 12:38:33
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01681700
Message ID:
01681737
Views:
41
>>Even thou I have done this before, by accident, but how do I make the "C:\Program File (x86)\Visual FoxPro 9" and sub-folders Read-write.
>>
>>I have tried change the Read-Only option in the folder's Properties dialog. It indicates that the R/O is Off, but the files remain still inaccessible for writing.
>>I am thinking it may some kind of permission issue, but I rarely mess with that, so I reluctant to play around in that unless I have the proper instructions.
>>
>>FYI: I have Windows 10 Pro.
>>Thank you, in advance.
>
>Hrm... shouldn't UAC Virtualization kick in in this case?
>https://devblogs.microsoft.com/oldnewthing/20150902-00/?p=91681
>https://docs.microsoft.com/en-us/previous-versions/technet-magazine/cc138019(v=msdn.10)?redirectedfrom=MSDN
>
>any files you modify in "c:\Program Files (x86)" should eventually end up in folder within:
>c:\users\username\AppData\local\VirtualStore\Local\Program Files (x86)\
>
>The thing that could get confusing is when you're running as normal user, the UAC Virtualization should kick in and redirect the file write to occur in a sub-folder within the user profile. However, if you launch VFP as administrator (i.e. right-click on shortcut, then select "Run as Administrator") the files changed will end up in the "c:\Program Files (x86)\" folder. For the initial setup you can launch VFP as administrator and configure the default "global" configurations, then thereafter any time you launch VFP it will use those settings (and anything you change goes into the user profile folders).
>
>The way that I'd been using VFP (which is not too different with what I'd been doing with FoxPro DOS and FoxPro Windows) was to set up a "c:\Projects" folder, in which I create sub-folders for each unique project. In those sub-folders I set up shortcut to the IDE, which specifies in the command line the project-specific CONFIG.FP and FOXUSER files. Also included may be shortcuts to launch the compiled EXE (perhaps with variants with command-line arguments to select different operating modes).. Also within the project-specific folder I may include shortcuts to documentation for libraries that may be used. To access the Projects folder, I specify that as a toolbar in Windows Explorer so it is accessible as a "menu" from within the Task Bar.

I appreciate the advise. I noticed the VirtualStore behavior, and turned it off. Because this machine is a stand-alone development machine, I constantly ran in to problems. Sometimes, VFP would not see the VirtualStore copy and run the original copy, not copy in the store. Also, when creating Zip backup of the project folder, it would compress the original, and ignore the store version. Drove me crazy.

Thanks.
Greg Reichert
Previous
Reply
Map
View

Click here to load this message in the networking platform