I want to change my cursor when I load frmCatch to this cursor: Application.StartupPath + @"cursorscatch.ani".

I tried a lot of different options but it don’t work with the problem:

I try this:

ursor.Current = new Cursor(Application.StartupPath + @"cursorscatch.ani");

And that the problem:

System.ArgumentException: ‘Image format is not valid. The image file may be corrupted. (Parameter ‘fileName’)’

New contributor

Itamar Forgoun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.