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
If you want to remove a form programmatically, you'll need to use CDO or Redemption. See http://www.outlookcode.com/d/forms.htm#remove

Signature
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
>I published custom form in specific folder using CreateItemFromTemplate method.
> And Now, I want to remove or modify custom form.
[quoted text clipped - 13 lines]
> oForm.PublishForm olFolderRegistry, oFolder
> oItem.Close olDiscard
zenith - 20 Apr 2005 02:38 GMT
Thanks. Sue
I figure out immediately.
"Sue Mosher [MVP-Outlook]"님이 작성한 내용:
> If you want to remove a form programmatically, you'll need to use CDO or Redemption. See http://www.outlookcode.com/d/forms.htm#remove
>
[quoted text clipped - 15 lines]
> > oForm.PublishForm olFolderRegistry, oFolder
> > oItem.Close olDiscard