A
Adam Maltby
Hi,
I am adding an new picbox and animated gif to it at runtime
Dim img As Image = Image.FromFile(Application.StartupPath & "\animation.gif")
With pic_Wait
.Location = New Point(300, 250)
.Width = 72
.Height = 101
.BackColor = Color.Transparent
.BorderStyle = BorderStyle.None
.Image = img
End With
When I run this code it exceptions out with a general GDI+ error.
Help please!
Cheers
Adam
I am adding an new picbox and animated gif to it at runtime
Dim img As Image = Image.FromFile(Application.StartupPath & "\animation.gif")
With pic_Wait
.Location = New Point(300, 250)
.Width = 72
.Height = 101
.BackColor = Color.Transparent
.BorderStyle = BorderStyle.None
.Image = img
End With
When I run this code it exceptions out with a general GDI+ error.
Help please!
Cheers
Adam