WinForms Edition Documentation
C1.Win.C1Win7Pack Namespace / C1TaskbarButton Class / AddShortcutToStartMenu Method
The application name as it appears on the Start Menu.
The description (comment) for a shortcut.
The path and file name for the target of a shortcut.
The command-line arguments for a shortcut.
The name of the working directory for a shortcut.
The path of the file containing the shortcut icon.
The index of the icon.

In This Topic
AddShortcutToStartMenu Method
In This Topic
Creates a shortcut on the user's Start Menu.
Syntax
'Declaration
 
Public Sub AddShortcutToStartMenu( _
   Optional ByVal appName As String, _
   Optional ByVal description As String, _
   Optional ByVal executablePath As String, _
   Optional ByVal arguments As String, _
   Optional ByVal startupPath As String, _
   Optional ByVal iconPath As String, _
   Optional ByVal iconIndex As Integer _
) 
 

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