Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shortcut tip
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00610779
Message ID:
00611643
Views:
26
thanks george!
tracy


>>GREAT! Willing to share any code to experient with?
>>TIA,
>
>Tracy,
>
>Using my LNKFILES.dll
DECLARE INTEGER SetLinkDescription IN LNKFILES.DLL;
>  INTEGER hWnd, STRING @lpszLinkName, STRING @lpszPath
>* lclinkname is the path and filename of the shortcut link
>* lcdescription represents the description you'll see
>? SetLinkDescription(0, @lclinkname, @lcdescription) && Returns 1 on success
>
>Using the WSH
oShell = CREATEOBJECT("WScript.Shell")
>* Get a reference to an existing shortcut or create a new one
>* lclinkname is the path and filename of the shortcut link
>oLink = oShell.CreateShortcut(lclinkname)
>oLink.Description = lcdescription
>oLink.Save
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform