10-10-2009 12:15 PM
10-12-2009 01:22 AM
You wouldhave to put something below in the viewloaded event for when the contact detail view is loaded....
'get the command bar
Dim cbar As Act.UI.Core.CommandBar = ActApp.Explorer.CommandBarCollection(ToolBarName eg "Contact Detail Toolbar")'create a button
Dim cbBut As New Act.UI.Core.CommandBarButton("Text", "tootlip", handler)'register the command
ActApp.RegisterCommand(urn of menu, Handler, RegisterType.Shell)'add the button to the command bar
cbar.ControlCollection.Add(cbBut)
Tom