Nello,
I believe there is a IShellLink function called GetPath. I have never used
it so don't know if it could help, but might be worth a try.

BTW Cheers for the Pixel to MM function. Works well.

James

-----Original Message-----
From: Nello Sestini [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 30 August 2000 09:31
To: Multiple recipients of list delphi
Subject: [DUG]: dereferencing shortcuts


Does anyone have a straightforward way of
dereferencing a "desktop shortcut"?    I mean
those ".lnk" files that point to other files
or folders.

Put another way - given a shortcut foo.lnk
that points to some file bar.txt I'd like
a way to get the fully qualified path
for bar.txt.

Everything I've seen so far seems unbelievably 
complicated.

thanks

ns

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



CAUTION - This message may contain privileged and confidential information intended 
only for the 
use of the addressee(s) named above.  If you are not the intended recipient of this 
message you are 
hereby notified that any use, dissemination, distribution or reproduction of this 
message is prohibited.  
If you have received this message in error please notify Progressive Enterprises Ltd. 
immediately via 
email at [EMAIL PROTECTED]  Any views expressed in this message 
are those of the 
individual sender and may not necessarily reflect the views of Progressive Enterprises 
Ltd.

This footnote also confirms that Progressive Enterprises Ltd. has swept this email 
message for the 
presence of computer viruses.  This does not guarantee this message is virus free.

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to