Export (0) Print
Expand All
A
Expand Minimize

Visual Basic Reference

Visual Studio 6.0

AddToAddInToolbar Method

See Also    Example    Applies To

Inserts a button on the Add-In toolbar which references an add-in or Wizard.

Syntax

object.AddToAddInToolbar (sfilename As String, sprogid As String, showontoolbar As Boolean, forceaddintoolbar As Boolean)

Part Description
object An object expression that evaluates to an object in the Applies To list.
sfilename Required. A string expression specifying the path to the add-in or Wizard and the name of its .Exe or .Dll file.
sprogid Required. A string expression specifying the programmatic ID (ProgID) of the add-in or Wizard.
saddinname Required. A string expression specifying the title of the add-in or Wizard.
showontoolbar Required. A Boolean expression specifying whether the add-in or Wizard referred to will appear on the Add-In toolbar. True = yes, False = no.
forceaddintoolbar Required. A Boolean expression specifying whether the Add-In toolbar is automatically displayed the next time Visual Basic is started. True = yes, False = no.

Show:
© 2014 Microsoft