I have a .net application that can create lnk shortcuts on the desktop for various purposes (let's say application A creates a shortcut for application B). These shortcuts are independent from this application and I would like to be able to programmatically add an custom icon to this shortcut (the shortcut for application B uses a custom icon not present in A or in B).
I already know how to do with an icon indexed in a dll or a .exe with the WSH library (this is described for example here) but what I want to do is to use a custom .png file.
Has anyone already did this?