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?

Not easy, but here's a lot of information.

Basically, it's an ICO file.

damn i can't edit.. it's VB2010 and not VB6... but the tags is vb.net...
i'm sorry

Why not just load it into paint.exe then save as whatever format you want? Or you could download ffmpeg (free) and do

ffmpeg -i myfile.ico myfile.jpg (or whatever format you want)

ffmpeg can also be used to convert video between any formats. Also subtitle files.

ffmpeg is a portable app (no installation required) but is more convenient if you add the bin folder where you unzip it to your system PATH environment variable.

like i said: is for learning... we can use that images in several places ;)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.