script event does not fire

U

urs

I have written the following Script Event Code:

Function Item_Open()
MsgBox "Open"
End Function


Function Item_Send()
MsgBox "Send"
End Function

If I run the Form from within the sevelopment environment I get the two
events fired.
If I save it as an OFT file and start it by double clicking it opens
the form
with the correct content (proofs that it is the rigth file) but no
events are fired (no msgbox).

If I go into th edevelopment mode of the opened form it shoes the
scripts !!

any idea what i am doing wrongly?
 
S

Sue Mosher [MVP-Outlook]

Unpublished forms, i.e. .oft files, don't run code. You'll need to publish them. See http://www.outlookcode.com/d/formpub.htm

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and 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