Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
George Tasker's Lnkfile.dll
Message
From
17/09/1999 00:08:29
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00265730
Message ID:
00265747
Views:
22
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform