Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows 7/8 Registry issue
Message
From
26/06/2013 14:03:58
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01577221
Message ID:
01577222
Views:
76
Most likely a UAC issue. Read "Developing VFP Applications for Windows 7" at http://www.doughennig.com/papers/default.html

>Perhaps someone can help me with this.
>
>Since Windows XP, my app writes the data folder paths to the Windows Registry - in particular to:
>
>Hkey_Local_Machine/Software/MyCompanyName/MyAppName/Paths (and then the paths are within the Paths folder section).
>
>However, I have just noticed that Windows 7 and Windows 8 do not do this, and automatically drop it within following if 64bit Windows:
>
>Hkey_Current_User/Software/Classes/VirtualStore/Machine/Software/Wow6432Node/MyCompanyName/MyAppName/Paths
>
>or if 32 bit Windows 7/8
>
>Hkey_Current_User/Software/Classes/VirtualStore/Machine/Software/MyCompanyName/MyAppName/Paths
>
>Does anyone know why Windows 7/8 would over-ride my setting to use the Hkey_Local_Machine location?
>
>Although this has not been an issue, it has just come up as an issue within the last couple days. After a recent Windows 8 update on their computer, two user's have reported that after the Windows 8 update, the file paths to one of the folders no longer exist. I can correct this by deleting this Registry setting and can change my code to catch this in the future.
>
>Any idea's on what is going on here? Also, shouldn't the file paths be in the Hkey_Local_Machine setting? Why would Windows 7/8 force this change?
>
>Any thoughts are appreciated before I make any code changes.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform