i am trying to use a fileopen dialog to select an image and copy it to my project folder .
i have used this code to do that.
OpenFileDialog ofd = new OpenFileDialog();
ofd.Filter = "All Image Files| *.*";
imgImagePath.Source=new BitmapImage(new Uri(ofd.FileName,UriKind.RelativeOrAbsolute));
FileStream fs = new FileStream(ofd.FileName,FileMode.Open,FileAccess.Read);
FileStream copyfs = new FileStream(@"../../Themes/Images", FileMode.CreateNew, FileAccess.Write);
The Error i am gettin is The so and so folder access is denied.
I have check that the folder is not read only. and its in d:
View Complete Post