views:

29

answers:

1

Hello,

I try to resolve the paths of shell links, which are contained in the "Recent Documents" folder in Windows 7. I used the code posted here (Answer No 3) How to resolve a .lnk in c#. But the method ResolveShortcut is not able to determine the path of some files (e.g. many .txt-files). The same code works perfectly under Windows XP.

A: 

I just downloaded, upgraded to 2010 and ran this sample on a Win7 system without any problem without changing anything whatsoever.