how can i convert cursor files to image?
i need see the cur\ani on picturebox?(just for learning)
Private Sub btnChooseImage_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnChooseImage.Click
If (ofdChooseFile.ShowDialog = Windows.Forms.DialogResult.OK) Then
If (ofdChooseFile.FilterIndex = 6) Then
Dim cur As New Cursor(ofdChooseFile.FileName)
PicShowImage.Image = cur 'error yes
Else
PicShowImage.Image = Image.FromFile(ofdChooseFile.FileName)
End If
Me.Text = "Image Viewer: " & ofdChooseFile.FileName
End If
End Sub
how can i get the image from a cursor?
the Cursor object read cur files and ani?