Reading information of .lnk files
Reading information of .lnk files
Reading information of .lnk files
Reading information of .lnk files
Reading information of .lnk files
Reading information of .lnk files Reading information of .lnk files Reading information of .lnk files Reading information of .lnk files Reading information of .lnk files Reading information of .lnk files Reading information of .lnk files Reading information of .lnk files
Reading information of .lnk files Reading information of .lnk files
Reading information of .lnk files
Go Back  Xtreme Visual Basic Talk > > > Reading information of .lnk files


Reply
 
Thread Tools Display Modes
  #1  
Old 02-01-2005, 06:53 AM
humorlos humorlos is offline
Newcomer
 
Join Date: Feb 2005
Posts: 3
Default Reading information of .lnk files


hi!

is there a way to easily read the information covered in an .lnk file, as found in the recent folder of a user in xp?

espacially, is it possible to retrieve to location of the original file?

thx for help

greetings humorlos
Reply With Quote
  #2  
Old 02-02-2005, 04:45 AM
humorlos humorlos is offline
Newcomer
 
Join Date: Feb 2005
Posts: 3
Default

Quote:
Originally Posted by humorlos
hi!

is there a way to easily read the information covered in an .lnk file, as found in the recent folder of a user in xp?

espacially, is it possible to retrieve to location of the original file?

thx for help

greetings humorlos

ok, have found a way myself -> CLOSED
Reply With Quote
  #3  
Old 02-02-2005, 09:40 AM
wayneph's Avatar
waynephReading information of .lnk files wayneph is offline
Web Junkie

Retired Moderator
* Expert *
 
Join Date: Apr 2004
Location: D/FW, Texas, USA
Posts: 8,393
Default

Would you mind sharing, just in case someone searches here with the same question you had?
__________________
-- wayne, MSSM Retired
> SELECT * FROM users WHERE clue > 0
0 rows returned
Reply With Quote
  #4  
Old 02-02-2005, 10:02 AM
humorlos humorlos is offline
Newcomer
 
Join Date: Feb 2005
Posts: 3
Default

totally forgot:

Finally I found out, that the links are acessed by the IShellLink Interface, available in 2 version depending on the os.

and some people have already been so nice to write a writer class to easily access the functionality of the ishellLink interface.

here is the link

http://www.mvps.org/emorcillo/dotnet...shortcut.shtml

only create an instance of the link and you can access it by applicationpath property.

greetings
Reply With Quote
  #5  
Old 02-02-2005, 11:17 AM
OnErr0r's Avatar
OnErr0rReading information of .lnk files OnErr0r is offline
Obsessive OPtimizer

Administrator
* Guru *
 
Join Date: Jun 2002
Location: Debug Window
Posts: 13,774
Default

I also have an example posted here in the .net Code Library:

http://www.xtremevbtalk.com/code-library/152821-create-shortcuts-ishelllinka-interface.html
__________________
Quis custodiet ipsos custodues.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Reading information of .lnk files
Reading information of .lnk files
Reading information of .lnk files Reading information of .lnk files
Reading information of .lnk files
Reading information of .lnk files
Reading information of .lnk files Reading information of .lnk files Reading information of .lnk files Reading information of .lnk files Reading information of .lnk files Reading information of .lnk files Reading information of .lnk files
Reading information of .lnk files
Reading information of .lnk files
 
Reading information of .lnk files
Reading information of .lnk files
 
-->