Create And Write To File - Error: Access To The PathFeb 19, 2011
Im trying to write to a file I created and place "Unregistered" in it. Thought it would be a simple task but keep getting an error. Its happening when I try and open the file to write. This is the error: Access to the path 'G:\Projects\Project\pbss\bin\Debug\5\pbssv\Data.DB' is denied.
Ive tried adding the file attributes to read-write and still get the same. Most of the code ive looked at via a google search points to the same as ive got for the Added default value area. Im not sure if there is a conflict between the 2 different ways im accessing the file when creating and writing too? [Code]