Commandbutton click doesn't fire

K

Ken

I have an old custom form design in outlook 2000. We upgraded to Win2k and
Outlook 2002 and the custom form commandbutton's click doesn't fire. I tried
adding a new button to the form. That does not fire.
The command button is on the READ page. I tried designing a new test form
from scratch with a command button. Still won't fire.
It seems like the script is disconnected from the form. Or the script engine
is missing.
Did we not install all the required Outlook components? The forms designer
and script editor work fine.
Any ideas?
Thanks,
--Ken
 
S

Sue Mosher [MVP]

If the form no longer runs code after you have sent or saved it, you probably have done something to "one-off" the form. Outlook 2002, Outlook 2000 SP2 and Outlook 2000 or 98 with the Email Security Update will not run code on one-off forms; see http://www.slipstick.com/outlook/esecup.htm#formsec for more information.

To ensure that a form does not one-off:

-- Make sure the "Send form definition with item" box on the (Properties) tab of the form is *not* checked. [1]

-- For in-house corporate use with Exchange Server, publish the form to the Organization Forms library or a public folder's forms library, as appropriate for your application.

-- For collaboration via the Internet, publish your form to your Personal Forms library. Save it as an .oft file and send it to other people who need to use it with instructions to publish it with the same form name that you used.

Many other things can cause one-off forms. If the above steps don't work on a new item created with your form, see http://www.slipstick.com/dev/formpub.htm#oneoff for other possible causes.

[1] Whenever you publish a message form, Outlook will suggest that you may want to check the "Send form definition with item" box to ensure that the recipient will have the form, especially if you're sending to someone via the Internet. In the current Outlook security environment, this suggestion is obsolete. Ignore it.

--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
N

new.microsoft.com

Thank you Sue. My form was one-offed. I understand the OL2002 Security a
little better now.
--Ken


If the form no longer runs code after you have sent or saved it, you
probably have done something to "one-off" the form. Outlook 2002, Outlook
2000 SP2 and Outlook 2000 or 98 with the Email Security Update will not run
code on one-off forms; see
http://www.slipstick.com/outlook/esecup.htm#formsec for more information.

To ensure that a form does not one-off:

-- Make sure the "Send form definition with item" box on the (Properties)
tab of the form is *not* checked. [1]

-- For in-house corporate use with Exchange Server, publish the form to the
Organization Forms library or a public folder's forms library, as
appropriate for your application.

-- For collaboration via the Internet, publish your form to your Personal
Forms library. Save it as an .oft file and send it to other people who need
to use it with instructions to publish it with the same form name that you
used.

Many other things can cause one-off forms. If the above steps don't work on
a new item created with your form, see
http://www.slipstick.com/dev/formpub.htm#oneoff for other possible causes.

[1] Whenever you publish a message form, Outlook will suggest that you may
want to check the "Send form definition with item" box to ensure that the
recipient will have the form, especially if you're sending to someone via
the Internet. In the current Outlook security environment, this suggestion
is obsolete. Ignore it.

--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
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