ImDaFrEaK
Well-known member
I am not sure if this is the correct place to put this but I am hoping to learn how to know the users rights before attempting to have them write to files.
In my program, I want the user to be able to alter certain audio files. On the Admin side this works fine but when testing on my wifes side of the computer, non-admin, I can't alter the file. I get an error saying "Access to Path" the file name and path "is denied." Before attempting to Re-Write information on particular files I would like to know the priveldges. As of right now I am stuck using a Try Catch and I prefer not to if there is a correct method.
In my program, I want the user to be able to alter certain audio files. On the Admin side this works fine but when testing on my wifes side of the computer, non-admin, I can't alter the file. I get an error saying "Access to Path" the file name and path "is denied." Before attempting to Re-Write information on particular files I would like to know the priveldges. As of right now I am stuck using a Try Catch and I prefer not to if there is a correct method.