Skip to content

AddTask Method

Description

Adds a task to the jumplist.

Syntax

Public Sub AddTask( _
    ByVal [Path](#) As String, _
    ByVal [Argument](#) As String, _
    ByVal [Title](#) As String, _
    ByVal [IconPath](#) As String, _
    ByVal [IconIndex](#) As Integer _
)

Parameters

  • Path: Path to the executable to run when the link is clicked.
  • Argument: Argument of the link.
  • Title: Title to display in the list.
  • IconPath: Path to the icon to use for this link (if using a direct link to a file).
  • IconIndex: Index of the icon to use from the image manager.

Remarks

After you add a task to the jumplist, you must commit the changes for them to be used.

Jumplist

Jumplist

See Also

TaskbarManagerJumpList Object


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.