>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
the easiest way by far, IMHO is with the Windows Scripting Host.
The WScript.Shell object has a method CreateShortcut that does this in a snap.
The only downside is the relative new-ness of the WSH. It installs with Win98 and NT SP3 and SP4. I am pretty sure recent versions of Win95 have it too. In any case, you can install it with a self-extracting executable available from the MS site.
Erik Moore
Clientelligence