Sythe.Org Forums     Register     FAQ     Members List     Calendar     Mark Forums Read    
 
Sythe.Org Forums  
   Runescape Gold

Sythe.org — A Virtual Goods Trading Hub

Make real cash! buying and selling in-game items.

We have a no-scam policy.

You can make thousands playing your favourite games here at Sythe.org.

Just sign up an account and follow the rules!


Take me to

Runescape Markets

Other Game Markets

Support Center

Register an Account

Close
C# Access Violation
Closed Thread
 
LinkBack Thread Tools Display Modes
  #1  
Old 08-29-2011, 07:34 PM
Merv's Avatar
Forum Addict
 
Join Date: Mar 2010
Posts: 439
Default C# Access Violation

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
__________________


Last edited by Merv : 08-29-2011 at 07:34 PM.
  #2  
Old 08-29-2011, 07:44 PM
Govind's Avatar
Hero
Highly Respected Highly Trusted Sythe Verified User
 
Join Date: Apr 2005
Posts: 7,068
Default Re: C# Access Violation

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.
  #3  
Old 08-29-2011, 10:06 PM
Merv's Avatar
Forum Addict
 
Join Date: Mar 2010
Posts: 439
Default Re: C# Access Violation

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
__________________

Closed Thread



Cheap RS Gold Store  Runescape Gold

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT +1. The time now is 08:00 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.1