Hey Guys, I am trying to create and delete a startup shortcut within my VB6 program. I have these functions:
Declare Function OSfCreateShellLink Lib "vb6stkit.dll" Alias "fCreateShellLink" (ByVal lpstrFolderName As String, ByVal lpstrLinkName As String, ByVal lpstrLinkPath As String, ByVal lpstrLinkArguments As String, ByVal fPrivate As Long, ByVal sParent As String) As Long
Declare Function OSfRemoveShellLink Lib "vb6stkit.dll" Alias "fRemoveShellLink" (ByVal lpstrFolderName As String, ByVal lpstrLinkName As String) As Long
but I can't figure out what to pass them in order to get them to work. I tried to use the same parameters I used for my VB5 project but that dosn't work. Also, do these functions work under Windows NT 4.0? Win 2K?
Thanks for any help.