Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / December 2003

Tip: Looking for answers? Try searching our database.

scripting in ol2003

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mr. Applications - 24 Dec 2003 16:58 GMT
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!
Sue Mosher [MVP] - 24 Dec 2003 18:30 GMT
Outlook 2003 runs script only behind published, non-one-off forms. See http://www.slipstick.com/outlook/esecup.htm#formsec
Signature

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
    http://www.outlookcode.com/jumpstart.aspx 

> I can't run any script in inbox on ol2003. If I have a simple mailitem which
> only contain the following script:
[quoted text clipped - 5 lines]
>
> Thanks!
Mr. Applications - 25 Dec 2003 08:07 GMT
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
Signature

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
    http://www.outlookcode.com/jumpstart.aspx

> I can't run any script in inbox on ol2003. If I have a simple mailitem which
> only contain the following script:
[quoted text clipped - 5 lines]
>
> Thanks!
Sue Mosher [MVP] - 26 Dec 2003 19:57 GMT
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.
Signature

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
    http://www.outlookcode.com/jumpstart.aspx

> 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
[quoted text clipped - 24 lines]
> >
> > Thanks!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.