Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How I can create Windows Shortcut from VFP 6.0 aplicatio
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00359712
Message ID:
00359740
Views:
8
>I create own setup program for our aplication and I don't know how to create shortcut on Windows 9x, NT desktop screen (not in Setup wizard). Thanks for all.
>Vladimir Provalil.

Vladimir,

You have to use a post setup executable in order to do this. Further, you'll need either something like my LNKFILES.DLL or the Windows Script Host in order to create and properly set the various properties of the short cut. My DLL (which is available in the files section under Win32 and Other APIs) comes with a help file which documents how to use it to do that. Note, however, that a couple of the functions (the one that creates the link file is one) aren't correctly documented. They return 1 rather than the documented 0.

From a practical point of view, the WSH is probably preferable for this task if it's available.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform