-
I put up a post before, but no one has a response for it! I have been looking for days now and it seems there is no way to get the target of a link file from VB. If anyone can prove me otherwise it would really help. Here's the problem:
A user drag & drops a link file onto a shortcut
I get the path of the shortcut file and then find out where that shortcut leads to and get the path of that file.
The only problem is it seems like Microsoft is hiding a way to get the target of the shortcut. Any help would be appreciated.
-
matt_man22,
Here's a few things for you to check out. Plus I added the URL to the search engine I used.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Retrieve Path Info for/Description of Shortcut Targets
http://www.freevbcode.com/ShowCode.Asp?ID=1193
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Create Shortcuts for Files and Applications with Parameters
http://www.freevbcode.com/ShowCode.Asp?ID=909
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From CShellLink to CShortcut
http://www.mvps.org/vb/hardcore/html...ocshortcut.htm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Customising your Setup - Part 2
http://www.vb-world.net/misc/customsetup2/index6.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Using MSAgent to Scan the Start Menu
http://abstractvb.com/code.asp?CID=2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Retrieving Internet Favourites Information
http://www.mvps.org/vbnet/index.html...netfavinfo.htm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Search Engine: Codehound
http://www.codehound.com/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hope this helps!
;) ;)
-
Thanks
I think the link that went to Hardcore Visual Basc worked! Haven't got it to work yet, but it looks promising. Thanks for your help!