
Question on PictureBox.Image = Image.FromFile(aFile)
Please refer to this article.
PRB: File Locked When PictureBox Image Property Set to File [vCSharpnetkb]
http://support.microsoft.com/support/kb/articles/q311/7/54.asp
Best Regards,
Alick Ye
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. Copy right, 2002 Microsoft Corporation.
All rights reserved.
--------------------
Content-Class: urn:content-classes:message
Subject: Question on PictureBox.Image = Image.FromFile(aFile)
Date: Mon, 29 Apr 2002 19:24:48 -0700
Lines: 9
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcHv7jOQ3qoRy1WqTcinUzyApRKm8Q==
Newsgroups: microsoft.public.dotnet.languages.vb
Path: cpmsftngxa07
Xref: cpmsftngxa07 microsoft.public.dotnet.languages.vb:42579
NNTP-Posting-Host: TKMSFTNGXA08 10.201.226.36
X-Tomcat-NG: microsoft.public.dotnet.languages.vb
Hi,
Loading a picturebox from file e.g.
PictureBox.Image = Image.FromFile(aFile) will lock the
source file an make it unoperatinal. How do you unlock
the source file?
Thanks so much
Kelly