Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run as administrator
Message
De
16/01/2011 10:46:16
 
 
À
16/01/2011 08:31:09
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 3.0
OS:
Windows 7
Network:
Windows 2008 Server
Database:
VistaDB
Application:
Desktop
Divers
Thread ID:
01496318
Message ID:
01496321
Vues:
47
If it's a setting that is per user, it should be saved in user accessible storage areas such as Isolated Storage. If a one time setting after installation, it should be asked as part of the installation process, which is run with Administrator rights.

>Hi all,
>
>I have an WPF app tha should run in a client machine after depoying it. The issue is that there are some properties like the DefaultLanguage, in the app.config file, that clients should be able to change. After deploying only if the app is Run as Administrator the app.config file is changed, otherwise it crashes.
>
>Any idea of how can I access the app.config file from a method?
>
>Thanks.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform