Hello
I'm attempting to create a method in my code which allows users to upload files from any location on their desktop. So far, every time I've tried to code this, I get an error saying that 'Access to the path has been denied'. I have looked at FileInfo class (.DirectoryName, .FullName) and the properties within the FileUploader class (.FileName) but, unfortunately, none of these allow me to perform the action.
Can anyone suggest what library operations I need to upload files from anywhere and not just from the VisualStudio program?

0 answers