>Hi friends,
>
>I have a problem with create shortcut to desktop and to start menu,I have tried
>to a lot of time about this but I couldn't what should I do as a creating setup
>files.
>
>thanks for your help
>
>Kosta Andonyadis
One of two ways. First, and recommended, would be to use the Windows Script Host's WScript.Shell object. Ed Rauh and I covered this in our series of articles on WSH (which began last Sept.) in the VFUG newsletter, which is available on-line at
www.vfug.org. The WScript.Shell object was covered in the Oct. issue.
The other way is to use a DLL like my LNKFILES.DLL. It's available in the download section here at the UT under Win32 and Other APIs. The documentation that comes with it will explain what you need to do, and the syntax examples are all in VFP and can be copied and pasted as necessary.
The problem is that the setup executable that the Setup Wizard uses is 16 bit and as such has no way to interface with the necessary function calls. In fact, in order to create the Program Group it has to utilize the DDE interface with the Progam Manager (hence the "PM Item" check box).
George
Ubi caritas et amor, deus ibi est