S
Sriram N A
I need to have a form which has been published to a public folder copied to
the user's personal forms registry in script.
I am trying to use an "Install" form published to a suitable public folder
for this, so that the form definition of the form to be run is copied to the
local registry, and can be taken offline.
Code along the following lines will not do, because the Add method results
in execution of code in the form being installed. Is there any way of
programmatically replicating what is achieved in Outlook through Tools |
Options | Other | Custom Forms | Manage Forms | Set | Copy?
Set objItem = objFolder.Items.Add(strMsgClass) '<==Executes code in
objItem
Set objFormDescription = objItem.FormDescription
objFormDescription.Name = "Indent"
objFormDescription.PublishForm olPersonalRegistry
objItem.Close olDiscard
Sriram
the user's personal forms registry in script.
I am trying to use an "Install" form published to a suitable public folder
for this, so that the form definition of the form to be run is copied to the
local registry, and can be taken offline.
Code along the following lines will not do, because the Add method results
in execution of code in the form being installed. Is there any way of
programmatically replicating what is achieved in Outlook through Tools |
Options | Other | Custom Forms | Manage Forms | Set | Copy?
Set objItem = objFolder.Items.Add(strMsgClass) '<==Executes code in
objItem
Set objFormDescription = objItem.FormDescription
objFormDescription.Name = "Indent"
objFormDescription.PublishForm olPersonalRegistry
objItem.Close olDiscard
Sriram