Try this:
vb
Public Class Form1
Priate Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Try
PictureBox1.LoadAsync(TextBox1.Text)
Catch ex As Exception
MessageBox.Show("Cant load image")
End Try
End Sub
Private Sub PictureBox1_LoadProgressChanged(ByVal sender As System.Object, ByVal e As System.ComponentModel.ProgressChangedEventArgs) Handles PictureBox1.LoadProgressChanged
ProgressBar1.Value = e.ProgressPercentage
End Sub
Private Sub PictureBox1_LoadCompleted(ByVal sender As System.Object, ByVal e As System.ComponentModel.AsyncCompletedEventArgs) Handles PictureBox1.LoadCompleted
ProgressBar1.Value = 0
End Sub
End Class
... it'll load most any file as long as the pictuerbox can handle it