[]
        
(Showing Draft Content)

C1.Win.C1Win7Pack.C1TaskbarButton.AddShortcutToStartMenu

AddShortcutToStartMenu Method

AddShortcutToStartMenu(string, string, string, string, string, string, int)

Creates a shortcut on the user's Start Menu.

Declaration
public void AddShortcutToStartMenu(string appName = null, string description = null, string executablePath = null, string arguments = null, string startupPath = null, string iconPath = null, int iconIndex = 0)
Parameters
Type Name Description
string appName

The application name as it appears on the Start Menu.

string description

The description (comment) for a shortcut.

string executablePath

The path and file name for the target of a shortcut.

string arguments

The command-line arguments for a shortcut.

string startupPath

The name of the working directory for a shortcut.

string iconPath

The path of the file containing the shortcut icon.

int iconIndex

The index of the icon.