Creates a shortcut on the user's Start Menu.
Syntax
Public Sub AddShortcutToStartMenu( _
Optional ByVal As String, _
Optional ByVal As String, _
Optional ByVal As String, _
Optional ByVal As String, _
Optional ByVal As String, _
Optional ByVal As String, _
Optional ByVal As Integer _
)
Dim instance As C1TaskbarButton
Dim appName As String
Dim description As String
Dim executablePath As String
Dim arguments As String
Dim startupPath As String
Dim iconPath As String
Dim iconIndex As Integer
instance.AddShortcutToStartMenu(appName, description, executablePath, arguments, startupPath, iconPath, iconIndex)
public void AddShortcutToStartMenu(
string ,
string ,
string ,
string ,
string ,
string ,
int
)
public:
void AddShortcutToStartMenu(
String^ ,
String^ ,
String^ ,
String^ ,
String^ ,
String^ ,
int
)
Parameters
- appName
- The application name as it appears on the Start Menu.
- description
- The description (comment) for a shortcut.
- executablePath
- The path and file name for the target of a shortcut.
- arguments
- The command-line arguments for a shortcut.
- startupPath
- The name of the working directory for a shortcut.
- iconPath
- The path of the file containing the shortcut icon.
- iconIndex
- The index of the icon.
See Also