>What is the best way to run a VFP executable as an administrator on a laptop running window 7 home edition?
>
>My VFP executable cannot write my data paths to the registry in the Local Machine -> Software folder.
>
>I seem to be able to do the write on most machines if i try running the executable as an administrator.
>
>
>What is the best way to write my data paths to the registry in windows 7?
>
>Any help with this would be greatly appreciated.
>
>Thanks,
>Deb
Deb,
Don't take the wrong path (pun intended). You don't write to registry in Windows 7 and you don't write to Program Files either. If you want your apps to be Windows 7 compliant, you need to write app specific data in the ProgramData\YourApp directory.
We overhauled all our VFP apps to be Windows 7 complaint. I also created manifests for each of VFP apps.
If it's not broken, fix it until it is.
My Blog