Results 1 to 3 of 3

Thread: No One Knows How to Get the Target of A Shortcut?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2001
    Location
    Phoenix
    Posts
    150

    Arrow

    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.

  2. #2
    Member
    Join Date
    May 2000
    Location
    USA
    Posts
    37

    Wink

    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!

    Jerome W. Norgren

    "Know how to ask. There is nothing more difficult for some people, nor for others, easier."

    - Baltasar Gracian

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Apr 2001
    Location
    Phoenix
    Posts
    150

    Wink 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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width