VB IShellLink Interface (ShellLink.tlb)

This type library provides access to the ShellLink object, which the Windows Shell uses to manage shortcuts.

The code in this type library is derived from Bruce McKinney's Win.tlb provided with Hardcore Visual Basic. However, this particular library only contains the calls associated with reading and writing shortcuts.

Supported calls:

  • IPersist
  • IPersistFile
  • IShellLink

To see the type library in use, check out the Recent Documents sample, which uses it to access the shortcuts in the user's Recent Documents list and extract the path to the local file.