Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a .lnk file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00203429
Message ID:
00203472
Vues:
12
>Is there an API call or some C++ function that can be called to create a windows .lnk file (shortcut) from VFP. I want to be able to read a dbf file containing exe information and dynamically create a shortcut to the exe on the windows desktop.
>
>Rick Napolitan
>
>nappy@twd.net.com

Hi Rick,

Take a look at my lnkfiles.dll file from the UT download section (Win32 and other APIs). It comes with a help file that gives the declarations and calls using VFP syntax so you can just copy the examples from the file and paste them into your program.

Just one note, there's some errata in the documentation as to the codes returned by several of the functions that set information. I haven't gotten around to correcting it as of yet. If you get an error code, check the actual file to see whether or not you received an erroneous error code.

hth,
George

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

Click here to load this message in the networking platform