Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
George Tasker's Lnkfile.dll
Message
De
17/09/1999 00:08:29
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00265730
Message ID:
00265747
Vues:
21
>I am trying to create a shortcut at win desktop
> form my file called "p1.exe"
> Please, if you could write form the necessary lines
> for it.
> Because I didn't undestand the example of help file.

API calls can be a little intimidating. Here is a sample of hows to use George's excellent library:

* Declare the function
DECLARE INTEGER CreateShellLink IN LNKFILES.DLL;
STRING @lpzLinkFileName, STRING @lpzExeFileName

lnErrorCode = CreateShellLink("MyProgram.lnk","c:\MyProgram.exe")

Of course there is a lot of other flexibility and helper features built into the library that you should experiment with. Please post if you have further questions about how to use the help file...
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform