Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a Desktop Link
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00394305
Message ID:
00394315
Vues:
15
>Hi, I need to create a desktop link to a VFP5 application as part of the user's installation for the application. I don't see any options in the Setup Wizard to permit this. Is there a way to do this in Setup or in the application project?

No, not without a post setup executable. The setup program used by the setup wizard is a 16 bit application. As such it creates the short cuts using the DDE interface with the program manager, and can't retrieve the desktop folder, etc.

The easiest way to do this, provided the Windows Script Host is installed, is to use the WScript.Shell object's methods to create the short cut link. If the WSH isn't available, my LNKFILES.DLL (in Files under Win32 and Other APIs) can do this from a post setup executable. The DLL comes with a help file with all the examples in VFP.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform