Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating desktop shortcut for distributed apps
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00155399
Message ID:
00155409
Views:
22
>Joy,
>I have a routine for creating a group/shortcut, for access on the Start Menu/Programs. I haven't figured the desktop one out, though.

Take a look at the Windows Scripting Host; the Automation Object Wscript.Shell provides access to the IShellLink API that manipulates shortcuts and the Windows Special Folders, so it's easy to create shortcuts on the Desktop as referenced in the SpecialFolders collection.

>Mark
>
>>Does anyone know how to create a desktop shortcut for distribution? Automating it, that is, as in the install disk.
>>
>>Thanks,
>>
>>Joy C. Tan
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform