Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Doesnt have the permision to save the file - C#
C
C#
•
3y ago
•
22 replies
TheOneAndOnly
Doesnt have the permision to save the file
So I have been working on a Window Application and start working on a way to save the settings in a file
.
When I tried creating and saving this file by using
doc.Save("C:\\Program Files (x86)\\Hoi4ModdingTool");
doc.Save("C:\\Program Files (x86)\\Hoi4ModdingTool");
I get the error that it doesnt have the right permissions for that
.
What should I do to fix that
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Screenshot and save to file
C
C# / help
2y ago
C# save file
C
C# / help
3y ago
✅ How to save an assembly text file to an actual file?
C
C# / help
9mo ago
❔ how to save text from TextBox to file?
C
C# / help
4y ago