• Log in or sign up for an account here: https://www.sythe.org/login

C# Access Violation

Status
Not open for further replies.

Merv

Forum Addict

Do Not Trade
Joined
Mar 2, 2010
Sythe Gold
0
Messages
443
Hey guys, I have a program that creates a folder and its subsequent files wherever the .exe is located, but when I try to access and make changes to the files I'm getting knocked back with an Access Violation Error.

I've checked the files and they aren't read only.

Any ideas?

Thanks
 
Le Monkey
PHP Shit Show 2k26
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
Check the permissions on the file(s) - if you don't have Write access to the file then it won't matter if it's read only or not.
 
I've fixed it, I was trying to write to the folder rather than the file, I'd messed up the file path and created a folder rather than a file
 
Status
Not open for further replies.
duelarena.gg
Back
Top