settings file

About this tag
The settings file tag on WindowsForum.com covers issues related to reading and writing configuration files in Windows applications. A common problem discussed is the inability to save changes to a settings.txt file in a Visual C# Universal Windows Platform app, where reading succeeds but writing fails with an UnauthorizedAccessException. This typically occurs when attempting to write to the app's installed location, which is read-only. Solutions often involve using the app's local data folder for writable storage instead of the package install directory. The tag includes troubleshooting for file permissions, storage APIs, and UWP app development.
  1. K

    Windows 10 Can't save to text file with visual c# universal app

    Link Removed 0 I can't save any changes to the text file settings.txt , but reading the file works. The code is private async void LedShow_Loaded(object sender, RoutedEventArgs e) { var path = @"settings.txt"; var folder =...
Back
Top