Outlook script for forms



We have written vbscript for Outlook 97 forms, then upgraded to 2003.
Everything worked ok. Now we upgraded to Office 2007. The vbscript for the
forms do not respond. We have these form in Public folders. I can get the
script to work either in my personal Outlook items, or in Debug mode on the
Public folders.

Does anyone have a solution to get the Outlook vbscript to respond again
using Office 2007?



Hollis Paul

Does anyone have a solution to get the Outlook vbscript to respond again
using Office 2007?
What Sue is constantly saying is that, in Outlook 2007, forms will run code
behind them only if they are published to the Exchange Organization Forms
Library or the Personal Forms Library. Try publishing your form to the Org
Forms Library and see if it works from there. Use the Forms Manager to
move the published form from the public folder to the OFL.

Sue Mosher [MVP-Outlook]

That requirement applies only to custom message forms. Forms for other types of items that are published to Public Folders should work fine, as long as they do not have the "send form definition with item" box on the (Properties) page checked. They can also be moved to the Org Forms library. What you don't want is the same form published in 2-3 different places -- in a folder and also in Org Forms or Personal Forms.

See http://outlookcode.com/article.aspx?id=67 for information on Outlook custom form security issues.

Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators


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