Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run as administrator
Message
From
16/01/2011 10:46:16
 
 
To
16/01/2011 08:31:09
Antonio Llano
Inmollano S.L.
Getxo, Spain
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 3.0
OS:
Windows 7
Network:
Windows 2008 Server
Database:
VistaDB
Application:
Desktop
Miscellaneous
Thread ID:
01496318
Message ID:
01496321
Views:
45
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform