Simple question, hopefully also a simple answer.

I'm  implementing Drag and Drop in a Windows Forms application. It fails to
open shortcut files because it doesn't detect the shortcut and tries to open
the .lnk file directly. What is the right way to detect a shortcut file and
dereference it?

I have looked at IShellLink interface, but cannot figure out how to get an
object implementing that interface -- maybe because I'm not so experienced
with Interop services.

Does anyone know of a sample showing how to do this?

Regards
Henrik

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to