Hi,

This has already been covered I expect but for the sake of trying to find it....

Can someone please tell me why this doesn't work :

lngResult = apiCreateShellLink("..\..\desktop\", "Quick View", lblPath.Caption & "\Quickview.exe", "")


When I have declared the following in a module (global)
Public Declare Function apiCreateShellLink Lib "STKIT432.DLL" Alias "fCreateShellLink" (ByVal lpstrFolderName As String, ByVal lpstrLinkName As String, ByVal lpstrLinkPath As String, ByVal lpstrLinkArgs As String) As Long


Thanks in advance

Vince