scripting in ol2003

M

Mr. Applications

I can't run any script in inbox on ol2003. If I have a simple mailitem which
only contain the following script:
Function Item_Open()
msgbox 9234
End Function

It works on ol2k but not on 2003....any reason for that?

Thanks!
 
M

Mr. Applications

Sorry for being a pain in...but whatever i try here just doesn't work here.
All I'm trying to do is to run a simple script in inbox of 2003. According
to the link you sent me, I did a simple test - created a mail item, put it
in:
Function Item_Open()
msgbox 9234
End Function

unchecked the "send for definitions with item", and published it in a public
folder. Then when I open the form (which is a mailitem) i can send it, so I
send it to 2 users, one with ol2k and the other with ol2003 and guess
that.....ol2k saw the msgbox, ol2003 did nothing....the form was published,
the checkbox was unchecked...what am I missing here?

Thank you!



Outlook 2003 runs script only behind published, non-one-off forms. See
http://www.slipstick.com/outlook/esecup.htm#formsec
--
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
 
S

Sue Mosher [MVP]

Think about it: How would Outlook know to look in a public folder for the
form definition? Publishing the form to a public folder is appropriate only
when the items that use the form will be stored in the public folder. For
message forms, you generally need to publish to the Organizational Forms
library for global use within the enterprise or to each individual user's
Personal Forms library.
--
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