I want to change my cursor when I load frmCatch to this cursor: Application.StartupPath + @"\cursors\catch.ani".
I tried a lot of different options but it don't work.
I tried to use this code:
Cursor.Current = new Cursor(Application.StartupPath + @"\cursors\catch.ani");
And that is the error I get:
System.ArgumentException: Image format is not valid. The image file may be corrupted. (Parameter 'fileName')
The Documentation on
Cursorclearly states:So, that's the reason why you encounter this error. You may want to use a standard cursor (.cur) file.