Hi
I am curious to find out why an image file is locked when I load it in a picturebox or Image variable using the code below:
VB Code:
picImage.Image = Image.FromFile("abc.tif")
I can work around the locking bit by reading the image file in a memory stream and then load the Image from the memory stream but I was wondering if there was an alternative way to just assign the filename to the picturebox and not having the image file locked.
Thanks




Reply With Quote