I am using VSTO SE and Outlook 2007. I've created what is essentially a
toolbar along the bottom of the screen with various customized functionality.
I would like to include a view of my schedule. I'm thinking at the very
least something like what the free/busy check provides, but better yet, a
workable rectangle along the bottom that shows my schedule for today, that I
can click on to add a new item, etc.
Can this be done with VSTO and Outlook 2007?
You could add a custom task pane but then it would go to the side of the
Explorer window and not at the bottom. A button on your toolbar could be
used to open/close the custom task pane.
One thing with the VSTO implementation of CTP's is it leaves out the second
argument you can use when you directly use the Office 2007 implementation of
a CTP. That's the Window argument that directs the CTP to a specific window.
Without that the CTP is placed usually on the default Explorer only, not on
any other Explorers that might be open.
I override the VSTO implementation myself and use the override to work with
an Office CTP instead of the VSTO provided interface. I use an override of
the RequestService interface and if the serviceGuid passed there is
typeof(Office.ICustomTaskPaneConsumer).GUID I return my CTPWrapper class
which is ComVisible and implements Office.ICustomTaskPaneConsumer. That
needs to implement CTPFactoryAvailable and provide a storage object to hold
the passed Office.ICTPFactory object.

Signature
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
>I am using VSTO SE and Outlook 2007. I've created what is essentially a
> toolbar along the bottom of the screen with various customized
[quoted text clipped - 6 lines]
>
> Can this be done with VSTO and Outlook 2007?
Dave - 20 Apr 2007 19:36 GMT
Thanks for the reply.
I'm sorry I wasn't clear. What I created was a CTP that I put along the
bottom of the app. It is only about 1/4 inch tall, with a series of several
command buttons along the bottom of the screen. What I would like to add -
within that same CTP but below the row of buttons - is my schedule for today
as a 1/4" tall, app-wide screen.
dw
> You could add a custom task pane but then it would go to the side of the
> Explorer window and not at the bottom. A button on your toolbar could be
[quoted text clipped - 24 lines]
> >
> > Can this be done with VSTO and Outlook 2007?
Ken Slovak - [MVP - Outlook] - 20 Apr 2007 20:18 GMT
You would need to pick out a control that can display that information and
populate it, there's nothing available that I know of that does it
automatically. For example you could use some sort of grid control, query
the calendar for all appointments starting on a certain day and use the
returned filtered Items collection to populate the grid control.
What control you add to the CTP is up to you and what controls you have
available to you.
If the control you use supports a click event you can use that or
double-click to add a new appointment. If not you can always use a button.

Signature
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
> Thanks for the reply.
>
[quoted text clipped - 8 lines]
>
> dw