Adding custom icons to files on desktop crashes explorer.exe

Mustafa BAY 0 Reputation points

I have a Windows service application to add custom icons to files and directories using .Net Framework 4.5.2 SharpShell library.

When I try to create a Microsoft Excel file on desktop, file icon moves to default file position on the desktop (top left).

If I create any other type of file (e.g. Microsoft Word), file gets created at the exact location where I clicked.

And if I create multiple Microsoft Excel files consecutively, explorer.exe crashes and restarts.

What can I do about it?

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,640 questions
{count} votes