I came across this issue and found this MS KB document very helpful:
Image file is locked when you set the PictureBox Image property to a file (Article ID: 309482 )
I was displaying an image in a picturebox control and then I was trying to overwrite the file, and display a new image. I could not overwrite the file. I could not rename it or delete it either.
Using a Filestream instead of FromFile resolved the issue.
If you run into this problem check out the MS KB document linked above.
Subscribe to:
Post Comments (Atom)
New beginner's guide to PowerShell on my GitHub page
I created a beginner's guide to PowerShell here: https://github.com/aamjohns/Powershell_Guide/blob/main/README.md I hope it helps someo...
-
I encountered this error using Office 2016 (32-bit) on Windows 7 x64. Logged on to the system as a User, I opened Control Panel>Mail...
-
Downloads MSI-Installer or Zip of Executable Instruction Manual PDF Description I started creating instructions similar to: Acc...
-
*****Transcode 360 will not work with MyMovies running on 64-bit operating systems. If you are using something like Vista Ultimate 64-bit yo...
No comments:
Post a Comment