I have a cursor file in project. I have given the absolute path in code i.e
F:/r.cur
the problem is this is hard-coded path And i Want
use Application.StartupPath returns path for the executable file that started the application.
string pathCur = Path.Combine(Application.StartupPath, @"..\..\r.cur"); Cursor = new Cursor(pathCur);