I've got this program that runs in the system tray. I want to have an option for the user to select whether or not they want the program to load during startup. Through a KB article I found I figured out how to add Shortcut:
Private Declare Function fCreateShellLink Lib "vb5stkit.dll" (ByVal lpstrFolderName as String, ByVal lpstrLinkName as String, ByVal lpstrLinkPath as String, ByVal lpstrLinkArgs As String) As Long
Now I need to be able to determine whether the shortcut already exists (Don't want to make it twice), and how to remove the shortcut if the user so chooses. Thanks for your help in advance.