the code is worked convert Pic file to stream and close it and PictureBox.Bitmap= file stream The closure of data processing for Path Dim asa As New FileInfo("C:\GymProg\Adminpic\D.gif") Dim Op As New FileStream(asa.FullName, FileMode.OpenOrCreate, FileAccess.ReadWrite, FileShare.None, 500, True) Dim MyImage As Bitmap Pic.SizeMode = PictureBoxSizeMode.StretchImage MyImage = New Bitmap(Op) Pic.ClientSize = New Size(136, 112) Pic.Image = CType(MyImage, Image) Op.Close() True or fales:confused: thnx to help me
Ahmed El-Badry