Im trying to display an image from a website link to a picturebox.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim Dopplerloc As String = " Me.PictureBox1.Image = New System.Drawing.Bitmap(Dopplerloc)
End Sub
I am trying to do this with on windows ce so the code seems to change from the vb.net 2005 code. there is no picturebox1.imagelocation or .refresh.
I get the error
"Value does not fall within the exected range" on the system.drawing.bitmap part
would there be an easier way to do download the image and cash it then display it in a picturebox?
I want to just add a timer to update the picturebox image every 5 minutes or so. i just cant figure out how to get the image to display from the web
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim Dopplerloc As String = " Me.PictureBox1.Image = New System.Drawing.Bitmap(Dopplerloc)
End Sub
I am trying to do this with on windows ce so the code seems to change from the vb.net 2005 code. there is no picturebox1.imagelocation or .refresh.
I get the error
"Value does not fall within the exected range" on the system.drawing.bitmap part
would there be an easier way to do download the image and cash it then display it in a picturebox?
I want to just add a timer to update the picturebox image every 5 minutes or so. i just cant figure out how to get the image to display from the web