PictureBox
Dim theImage As Image = Image.FromFile(fileName) Me.PictureBox1.Image = theImage theImage.Dispose()
זה בערך הקוד שלי כאשר אני בודק לפני אם קיימת תמונה כך:Dim fileName As String = App_Path() & "picture.jpg" If IO.File.Exists(fileName) Then
משום מה זה לא עובד... ואני לא מכיר את השגיאות של VB.NET ... אולי מישהו יכול לעזור? תודה!