Click here to Skip to main content
15,907,687 members

Comments by Member 3232874 (Top 9 by date)

Member 3232874 4-Aug-12 13:53pm View    
You get an example?
Thanks
Member 3232874 4-Aug-12 13:51pm View    
Thanks
Member 3232874 4-Aug-12 13:50pm View    
Thanks
Member 3232874 25-May-12 13:09pm View    
string path = ((BitmapImage)img.Source).UriSource.LocalPath;
img.SetValue(System.Windows.Controls.Image.SourceProperty, null);
File.Delete(path);

Error:
The process cannot access the file 'C:\Picther.jpg' because it is being used by another process.

And:
string path = ((BitmapImage)img.Source).UriSource.LocalPath;
img.Source = null;
File.Delete(path)
Member 3232874 25-May-12 12:33pm View    
please answer me.I want understand that this phrase is wrong?or not