|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Does File.Exist lock jpg files?I use File.Exist to check whether a certain image exists. Upon successfull
check I want to use the file further but I always get a "The process cannot access the file because it is being used by another application". If I do the same exercise with another type (.MID) it works just fine. Anyone ever come across this? Grateful for all the help. i'd definitely be interested in this answer
i sure hope it doesn't are these jpgs in a web server?? -Aaron On Mon, 8 May 2006 14:04:01 -0700, tino
<t***@discussions.microsoft.com> wrote: >I use File.Exist to check whether a certain image exists. Upon successfull If you mean something like this:>check I want to use the file further but I always get a "The process cannot >access the file because it is being used by another application". >If I do the same exercise with another type (.MID) it works just fine. >Anyone ever come across this? >Grateful for all the help. If File.Exists("c:\test.jpg") Then PictureBox1.Image = Image.FromFile("c:\test.jpg") Else MessageBox.Show("File not found") End If Above works as expected, here. Gene
VB .NET very slow in design
control array question for VB.Net 2005 File copy VB Exp 2005 Thread Sync Queue Problem umanaged code - array error Outlook Add In is not shown for 1 user... Regular expression rejecting invalid files Standarddrucker mit .Net ermitteln Enter-key to have tab-key functionality licensing a third party control |
|||||||||||||||||||||||