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 / Calendaring / January 2004

Tip: Looking for answers? Try searching our database.

Forms Event not Firing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dwight - 13 Jan 2004 06:12 GMT
In Outlook I am using the following code in a resource
calendar to automatically fill in the location field:

Function Item_Open()
    Item.location = Application.ActiveExplorer.Caption
End Function

The caption is the name of the calendar and therefor the
location.  This calendar writes its events to a Master
calendar so the location must be identified.  However
this code is not working in certain circumstances in
Outlook 2003; it works fine in Outlook 2002.  The code
works OK if the form is chosen and opened up while in the
calendar.  However if the form is the default chosen form
and a new item is opened, the event Item_Open does not
fire so the location is not filled.  I don't believe that
any of the forms events are firing for this circumstance
but I don't know for sure.

Has anyone else seen this problem with Outlook 2003?

Thanks for any help you can offer.
Sue Mosher [MVP] - 13 Jan 2004 13:14 GMT
What kind of folder are you trying to create the appointment in -- personal
calendar, public folder, calendar in other user's mailbox? Can you also
explain what you mean by "if the form is the default chosen form  and a new
item is opened"?
Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> In Outlook I am using the following code in a resource
> calendar to automatically fill in the location field:
[quoted text clipped - 18 lines]
>
> Thanks for any help you can offer.
Dwight Nelson - 20 Jan 2004 17:37 GMT
Thanks for your reply.

We have a set of mailboxes on our Exchange server for
scheduling resources (rooms on our campus).  These
calendars have the new form set as the default form for
opening new appointments.  The code that is associated
with the form is not firing with Outlook 2003 if the
calendar is first opened from another mailbox (not the
resource calendar mailbox) and the "new" button is
selected.  However the code does work OK if the resource
calendar mailbox is opened native and the new button is
selected.  So the problem happens when the new item is
being created in "another user's calendar".  I hope this
is clear.

Thanks,
Dwight Nelson
dwightn@casaschurch.org

>-----Original Message-----
>What kind of folder are you trying to create the appointment in -- personal
[quoted text clipped - 25 lines]
>
>.
Sue Mosher [MVP] - 20 Jan 2004 18:38 GMT
Outlook 2003 includes a new setting -- turned off by default -- to allow
forms in shared mailboxes to run script. You can change the setting by
choosing Tools | Options | Other | Advanced Options and checking the box for
"Allow script in shared folders." See
http://www.slipstick.com/dev/ol2003problems.htm#mailboxscript for more
information on this setting and the comparable setting (on by default) for
forms in public folders.

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> Thanks for your reply.
>
[quoted text clipped - 52 lines]
> >
> >.
Dwight Nelson - 20 Jan 2004 23:36 GMT
I found the option!  Thanks so much for your help with
this.  We can now migrate to Office 2003 with no(some)
reservations!

Dwight
>-----Original Message-----
>Outlook 2003 includes a new setting -- turned off by default -- to allow
[quoted text clipped - 63 lines]
>
>.
Sue Mosher [MVP] - 21 Jan 2004 01:30 GMT
Do you have public folders with custom forms? If so, I'd wait to upgrade
until Microsoft fixes the major forms cache problem related to accessing
public folders through the Public Folders\Favorites hiearchy.
Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> I found the option!  Thanks so much for your help with
> this.  We can now migrate to Office 2003 with no(some)
[quoted text clipped - 14 lines]
> (on by default) for
> >forms in public folders.

> >"Dwight Nelson" <anonymous@discussions.microsoft.com>
> wrote in message
[quoted text clipped - 66 lines]
> >
> >.
 
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.