Hello,
I want to reed the path of a shortcut file in a
directory, see beneth:
Public Function TargetPathOfShortCut() As String
Dim strLink As String
strLink = Dir("c:\*.LNK" ' Return first *.LNK file
' (this link to another File
' for instance mylink.LNK
' What I want to know is to
' which file this link
' is pointing
' Something like:
TargetPathOfShortCut = _
TheFunctionOrObjectIamLookingFor(strLink)
End Function
I found a control on the Internet but it only worked
with VB6. I would like to see the code of this control!
Does anyone knows a solution for this ?
It is realy fustrating problem for me....
I want to reed the path of a shortcut file in a
directory, see beneth:
Public Function TargetPathOfShortCut() As String
Dim strLink As String
strLink = Dir("c:\*.LNK" ' Return first *.LNK file
' (this link to another File
' for instance mylink.LNK
' What I want to know is to
' which file this link
' is pointing
' Something like:
TargetPathOfShortCut = _
TheFunctionOrObjectIamLookingFor(strLink)
End Function
I found a control on the Internet but it only worked
with VB6. I would like to see the code of this control!
Does anyone knows a solution for this ?
It is realy fustrating problem for me....