'lCustomItem : index of custom item to define
'sPluginProgID : Programatic ID of a registerred plug-in which will serve as an available item in then front-end of the application
'vReserved : reserved
'NOTE: see comments in CustomizeFrontEnd_UseCustomFrontEnd
On Error GoTo ErrHandler
If (lCustomItem > 0) Then
Select Case lCustomItem
'How to use a website
sPluginProgID = "HTTP://WWW.BLACKBAUD.COM"
'This will add the Plug-Ins option
sPluginProgID = "RE7DOCS.CPLUGINDOCHANDLER"
'This will add the Calender of all Events
sPluginProgID = "RE7DOCS.CCALENDARDOCHANDLER"
'This will add a document
sPluginProgID = "C:\Test.doc"
'This will add a plugin
sPluginProgID = "NonConstitMerge.cNonConstitMerge"
On Error GoTo 0
Dim sErr As String
sErr = Err.Description
On Error GoTo 0
'< place your custom error handling code here >
MsgBox "Error processing CustomizeFrontEnd_CustomFrontEndItem : " & sErr
Disclaimer: We provide programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes you are familiar with Microsoft Visual Basic and the tools used to create and debug procedures. Our Customer Support can help explain the functionality of a particular procedure, but we will not modify, or assist you with modifying, these examples to provide additional functionality. If you are interested in learning more about the VBA and API modules, contact your account manager.