Change permission to modify files

Asked

Viewed 337 times

0

I am creating a Windows Forms application that will fetch an Excel spreadsheet and update some DBF files from a legacy system, but when I run the system I cannot update the DBF files due to the permissions of the legacy system folder.

How do I get permission to change the files? In the tests I did while creating the system I was changing the same DBF files on the desktop and everything ran normally. Do I need to change the permissions of the DBF folder? Or can the application be processed to "earn" these permissions?

  • 1

    I had a similar problem and found the solution in this link http://www.redmondpie.com/applying-permissions-on-any-windows-folder-using-c/

  • The solution on the Robss70 link solved my problem, I only changed to not depend on a combo and return the Admin user

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.