Custom Forms and Scripting

G

Gabe

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.
 
S

Sue Mosher [MVP-Outlook]

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.
 
G

Gabe

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.
 
S

Sue Mosher [MVP-Outlook]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top