Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows 7 build exe to run as administrator
Message
 
 
À
29/04/2011 16:24:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01508875
Message ID:
01508889
Vues:
49
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform