Home All Groups Group Topic Archive Search About

Customizing scheduling tasks

Author
13 Dec 2004 9:45 PM
jjsorensen
When a task is dragged to the calendar, an appointment with the same subject
is generated, and many of the task details are included.

I want to run code before the appointment is generated, but I'm having a
dificult time finding the event. The addItem event does not occurr until the
appointment is saved. The newInspector event is triggered but that is after
the details of the appointment are filled in. I could make do with this but
it seems a bad place for it since the event is triggered anytime an Outlook
item is opened. Also, I can't seem to check to see what type of item the
inspector contains.

Any ideas?
Author
13 Dec 2004 10:57 PM
Sue Mosher [MVP-Outlook]
NewInspector.CurrentItem.Class will give you the type of item. You've
already figured out the event situation.

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


Show quoteHide quote
"jjsorensen" <jjsoren***@discussions.microsoft.com> wrote in message
news:365101ED-1D3F-47D3-B4CB-CD93A6130717@microsoft.com...
> When a task is dragged to the calendar, an appointment with the same
> subject
> is generated, and many of the task details are included.
>
> I want to run code before the appointment is generated, but I'm having a
> dificult time finding the event. The addItem event does not occurr until
> the
> appointment is saved. The newInspector event is triggered but that is
> after
> the details of the appointment are filled in. I could make do with this
> but
> it seems a bad place for it since the event is triggered anytime an
> Outlook
> item is opened. Also, I can't seem to check to see what type of item the
> inspector contains.
>
> Any ideas?
Are all your drivers up to date? click for free checkup

Author
18 Dec 2004 4:59 PM
jjsorensen
Thanks.

Show quoteHide quote
"Sue Mosher [MVP-Outlook]" wrote:

> NewInspector.CurrentItem.Class will give you the type of item. You've
> already figured out the event situation.
>
> --
> Sue Mosher, Outlook MVP
> Author of
>      Microsoft Outlook Programming - Jumpstart for
>      Administrators, Power Users, and Developers
>      http://www.outlookcode.com/jumpstart.aspx
>
>
> "jjsorensen" <jjsoren***@discussions.microsoft.com> wrote in message
> news:365101ED-1D3F-47D3-B4CB-CD93A6130717@microsoft.com...
> > When a task is dragged to the calendar, an appointment with the same
> > subject
> > is generated, and many of the task details are included.
> >
> > I want to run code before the appointment is generated, but I'm having a
> > dificult time finding the event. The addItem event does not occurr until
> > the
> > appointment is saved. The newInspector event is triggered but that is
> > after
> > the details of the appointment are filled in. I could make do with this
> > but
> > it seems a bad place for it since the event is triggered anytime an
> > Outlook
> > item is opened. Also, I can't seem to check to see what type of item the
> > inspector contains.
> >
> > Any ideas?
>
>
>

Bookmark and Share