>When installing an app how do you transfer an icon to the desktop?
>
>Is there a copy command to do it?
>
>CG
You could simply copy the link file to the WINDOWS\Desktop\ file, but that won't work in all cases.
I wrote a DLL called lnkfiles.dll that available from the UT Download (under Win32 and other APIs). What you should do is call the DLL's GetDesktopFolder function to retrieve the location of the desktop, then create the shortcut link (CreateShellLink in the DLL). The file comes with a help file showing all the declarations and how to use them in VFP syntax. The CreateShellLink doc, however, contains some errata. It actually returns 1 if it succeeds.
George
Ubi caritas et amor, deus ibi est