Z
zenith
I published custom form in specific folder using CreateItemFromTemplate method.
And Now, I want to remove or modify custom form.
How can i do??
publish sourse is :
Dim oFolder As Outlook.MAPIFolder
Dim oItem As Object
Dim oForm As Object
Set oFolder =
Application.GetNamespace("MAPI").GetFolderFromID(g_oRootFolder.Id)
Set oItem = Outlook.Application.CreateItemFromTemplate(APPROVAL_FORM_PATH)
Set oForm = oItem.FormDescription
oForm.Name = APPROVAL_FORM_NAME
oForm.PublishForm olFolderRegistry, oFolder
oItem.Close olDiscard
And Now, I want to remove or modify custom form.
How can i do??
publish sourse is :
Dim oFolder As Outlook.MAPIFolder
Dim oItem As Object
Dim oForm As Object
Set oFolder =
Application.GetNamespace("MAPI").GetFolderFromID(g_oRootFolder.Id)
Set oItem = Outlook.Application.CreateItemFromTemplate(APPROVAL_FORM_PATH)
Set oForm = oItem.FormDescription
oForm.Name = APPROVAL_FORM_NAME
oForm.PublishForm olFolderRegistry, oFolder
oItem.Close olDiscard