OPTION = EXPLICIT
DECLARE FUNCTION fCreateShellLink LIB "STKIT432.DLL" ALIAS "fCreateShellLink" (BYVAL _
lpstrFolderName AS STRING, BYVAL lpstrLinkName AS STRING, BYVAL _
lpstrLinkPath AS STRING, BYVAL lpstrLinkArgs AS STRING) AS LONG
DIM lReturn AS LONG
lReturn = fCreateShellLink("..\..\Desktop", _
"Shortcut to Solitare", "c:\windows\sol.exe", "")
lReturn = fCreateShellLink("", "Shortcut to Solitare", _
"c:\Windows\sol.exe", "")
lReturn = fCreateShellLink("\Startup", "Shortcut to Solitare", _
"c:\Windows\sol.exe", "")
END
|