Click here to Skip to main content
15,867,870 members
Home / Discussions / C#
   

C#

 
AnswerRe: Looking to hire a programmer Pin
Gerry Schmitz13-Mar-23 7:32
mveGerry Schmitz13-Mar-23 7:32 
QuestionLooking for programmers for 8Bit Music Studio in C# (.Net) Pin
kiri0086-Mar-23 21:56
kiri0086-Mar-23 21:56 
AnswerRe: Looking for programmers for 8Bit Music Studio in C# (.Net) Pin
Richard MacCutchan6-Mar-23 22:10
mveRichard MacCutchan6-Mar-23 22:10 
AnswerRe: Looking for programmers for 8Bit Music Studio in C# (.Net) Pin
OriginalGriff6-Mar-23 22:25
mveOriginalGriff6-Mar-23 22:25 
AnswerRe: Looking for programmers for 8Bit Music Studio in C# (.Net) Pin
Gerry Schmitz7-Mar-23 6:03
mveGerry Schmitz7-Mar-23 6:03 
AnswerRe: Looking for programmers for 8Bit Music Studio in C# (.Net) Pin
jschell8-Mar-23 6:54
jschell8-Mar-23 6:54 
QuestionC# config file stopped working Pin
Ismael_19991-Mar-23 3:11
Ismael_19991-Mar-23 3:11 
AnswerRe: C# config file stopped working Pin
Richard Deeming1-Mar-23 3:25
mveRichard Deeming1-Mar-23 3:25 
Since you're calling OpenMappedExeConfiguration, I'm guessing that your code is writing to the config file at some point.

(If it's not, then why not simply use ConfigurationManager.AppSettings?)

I'm also guessing that your users have installed your application in the "Program Files" directory; that your application doesn't run elevated; that your application is 32-bit; and that your application doesn't contain a manifest with a "requested execution level" attribute.

In which case, the users won't have permission to write to the config file, and you'll be hitting UAC virtualization:
How User Account Control works (Windows) | Microsoft Learn[^]

There will be a copy of the config file at a particular location within the user's profile, and that's what your application will be reading.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: C# config file stopped working Pin
Ismael_19992-Mar-23 10:01
Ismael_19992-Mar-23 10:01 
GeneralRe: C# config file stopped working Pin
Richard Deeming2-Mar-23 21:21
mveRichard Deeming2-Mar-23 21:21 
GeneralRe: C# config file stopped working Pin
Eddy Vluggen4-Mar-23 8:03
professionalEddy Vluggen4-Mar-23 8:03 
QuestionNuget Visual Studio Pin
Kevin Dzimiera 202226-Feb-23 11:48
Kevin Dzimiera 202226-Feb-23 11:48 
AnswerRe: Nuget Visual Studio Pin
Dave Kreskowiak26-Feb-23 15:20
mveDave Kreskowiak26-Feb-23 15:20 
AnswerRe: Nuget Visual Studio Pin
Eddy Vluggen4-Mar-23 8:07
professionalEddy Vluggen4-Mar-23 8:07 
QuestionDeleting characters from a list<char> Pin
mjcs10024-Feb-23 5:53
mjcs10024-Feb-23 5:53 
AnswerRe: Deleting characters from a list<char> Pin
Gerry Schmitz24-Feb-23 8:53
mveGerry Schmitz24-Feb-23 8:53 
GeneralRe: Deleting characters from a list<char> Pin
mjcs10024-Feb-23 11:18
mjcs10024-Feb-23 11:18 
GeneralRe: Deleting characters from a list<char> Pin
Gerry Schmitz24-Feb-23 19:25
mveGerry Schmitz24-Feb-23 19:25 
GeneralRe: Deleting characters from a list<char> Pin
mjcs10024-Feb-23 20:35
mjcs10024-Feb-23 20:35 
GeneralRe: Deleting characters from a list<char> Pin
Gerry Schmitz25-Feb-23 6:39
mveGerry Schmitz25-Feb-23 6:39 
AnswerRe: Deleting characters from a list<char> Pin
Eddy Vluggen25-Feb-23 6:24
professionalEddy Vluggen25-Feb-23 6:24 
AnswerRe: Deleting characters from a list<char> Pin
lmoelleb27-Feb-23 4:45
lmoelleb27-Feb-23 4:45 
AnswerRe: Deleting characters from a list<char> Pin
jochance7-Mar-23 8:21
jochance7-Mar-23 8:21 
QuestionC# xml serialization Pin
di24125313416-Feb-23 2:02
di24125313416-Feb-23 2:02 
AnswerRe: C# xml serialization Pin
Richard Deeming16-Feb-23 2:17
mveRichard Deeming16-Feb-23 2:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.