The MessageClass property of an item determines what form is used to display
it. When you publish a form, you are prompted to enter the display name and
form name. The form name is used to construct the message class, e.g.
IPM.Note.MyClass. Therefore, everyone needs to use the same form name when
they publish the form.
If you want the forward action to use your published custom form, you must
change the Form Name property for the Forward action on the (Actions) page
of the form, in design mode, to point to your custom form.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"Gabe" <(E-Mail Removed)> wrote in message
news:27011C55-3024-497A-9B0E-(E-Mail Removed)...
>I unchecked the box as you instructed and sent the form to myself because I
> already have it installed. After I received the message I tried to foward
> it
> and I recieved no MsgBox on the send action. When you say the same
> message
> class what exactly do you mean I am a bit confused by that.
>
> "Sue Mosher [MVP-Outlook]" wrote:
>
>> To get the form to run code, you'll need to ask each user to publish it
>> to
>> their own Personal Forms library, always using the same message class.
>> And
>> you'll have to uncheck the "send form definition with item" box on the
>> (properties) page of the form.
>>
>> "Gabe" <(E-Mail Removed)> wrote in message
>> news:2AA09800-2159-4DEB-9876-(E-Mail Removed)...
>> >I am using Outlook 2003. I have a custom form created and a script that
>> > displays a "test" message upon the send action. This works perfectly
>> > on
>> > my
>> > computer but when I send the form to a co worker and he forwards it he
>> > does
>> > not get the MsgBox. This custom form is designed to be routed to
>> > several
>> > users and I need the script to "go along" with the custom form. I do
>> > not
>> > have access to our Exchange Servers. Can anyone help me.
>>
>>
>>