1

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.

Community
  • 1
  • 1
drvj
  • 355
  • 1
  • 4
  • 9

1 Answers1

1

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

  • I noticed that one needs to run the code in a WinForms or WPF app. So that was the reason that my code did not work. – drvj Apr 28 '11 at 15:35