Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Presence of a shortcut in Win XP
Message
 
 
To
27/10/2004 11:11:03
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00954766
Message ID:
00954887
Views:
16
>Sergey--
>
>>>If my app is running under WIN XP, how do I determine if a shortcut is present? Can I look at its contents (e.g., what is the target)?.
>>>
>>A shorcut is a file with .LNK extension and you can check for it existance, as such. See Re: How to Create Shortcuts/Get Desktop Folder Message #866827 for WSH code to create/modify shortcut.
>
>
>Thanks.
>
>The thread was very helpful. Unless I misunderstood something, the thread talks about creating a shortcut. I would like to know how to see what is in a current shortcut. I posted a message to George Tasker asking about this. He seemed pretty knowledgeable.
>

As George explained to me a while ago, you can use the same CreateShortcut method to Read/Modify existing shortcut.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform