embed cursor
-
I need to embed a cursor file into the application. How to do it? The procedure what i have followed is: * I added a existing cursor file into project. * Changed the "Build Action" to "Embedded Resources". * Code: Cursor newCur = new Cursor("xyz.cur"); this.Cursor = newCur; But it is throwing exception "Could not find file C:\App\rotate.cur". I want to embed the cursor in my application.
-
I need to embed a cursor file into the application. How to do it? The procedure what i have followed is: * I added a existing cursor file into project. * Changed the "Build Action" to "Embedded Resources". * Code: Cursor newCur = new Cursor("xyz.cur"); this.Cursor = newCur; But it is throwing exception "Could not find file C:\App\rotate.cur". I want to embed the cursor in my application.
In the solution explorer, go to the cursor file's properties and set
Copy to output directory
toCopy if newer
.Cheers, Vikram.
"I will put my new found knolage to good use" - Captain See Sharp. "Every time Lotus Notes starts up, somewhere a puppy, a kitten, a lamb, and a baby seal are killed." - Gary Wheeler.
-
In the solution explorer, go to the cursor file's properties and set
Copy to output directory
toCopy if newer
.Cheers, Vikram.
"I will put my new found knolage to good use" - Captain See Sharp. "Every time Lotus Notes starts up, somewhere a puppy, a kitten, a lamb, and a baby seal are killed." - Gary Wheeler.
-
I need to embed a cursor file into the application. How to do it? The procedure what i have followed is: * I added a existing cursor file into project. * Changed the "Build Action" to "Embedded Resources". * Code: Cursor newCur = new Cursor("xyz.cur"); this.Cursor = newCur; But it is throwing exception "Could not find file C:\App\rotate.cur". I want to embed the cursor in my application.
I got the answer. http://www.codeprof.com/dev-archive/37/9-31-373566.shtm Thank you.