command button in custom form (message) doesnt work.

O

Omar

hello,

I have created a custom messgase form with a web browser
command button. In design mode, i have added a vbs script
in Script editor. when running the form and pressing the
web browser button, it works fine. After publishing the
form in a personal folder and then sending it to other
outlook clients, they are unable to use the command button
after opening the email message. only after selecting Run
This Form that they are able to use the button. is there a
way to run the form by just opening it to use the command
button? (automating "running the form"). thanks..
omar
 
O

omar

Hi Sue,

ah yes, we are using outlook 2000 SR-1.

I will try the suggetsions. thanks.

Omar
-----Original Message-----
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.
 
S

Sue Mosher [MVP]

Ideally, both sender and recipient need access to the published form definition. If you're not both in the same Exchange organization or can't publish to the Organizational Forms library, then the other option is to publish the form locally to each user's Personal Forms library, always with the same message class.
--
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