A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Form Region, Task Pain, Ribbon Extension - which way is best?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 17th 09, 08:05 PM posted to microsoft.public.outlook.program_addins
pkelley
external usenet poster
 
Posts: 21
Default Form Region, Task Pain, Ribbon Extension - which way is best?

I have Visual Studio 2005, VSTO SE, and I'm writing in C#.
I've been tasked with writing my first Add-In and it will be for Outlook 2007.
I've completed the "Walkthroughs" for:
1) Customizing the Ribbon for Outlook 2007
http://msdn.microsoft.com/en-us/library/bb226712.aspx

2) Creating an Outlook Form Region
http://msdn.microsoft.com/en-us/library/aa942741.aspx

I've learned that there are such things as "Custom Task Panes" as well as
"Custom Form Regions"

My Add-In centers around Microsoft.Outlook.Appointment.

What I am to develop is an Add-In that Extends the Outlook 2007 Appointment
Ribbon to provide a:
1. A "Configuration" button that when pressed presents a form to be
filled out containing ODBC connection information (e.g. Server, Port,
Username, Password), an OK and Cancel button
2. A "Synch Assignment" check-box that when toggled "ON" indicates that
the Outlook 2007 Appointment information is to be saved to an SQL database.

I want to know what you recommend regarding two things:

1. Do I want to use a Custom Task Pane connected to the Ribbon to gather
my ODBC connection information, or am I supposed to use a Custom Form Region?
Not sure when it is best to use one versus the other.

2. How do you hook the "Save & Close" and "Send" events on the Appointment
Ribbon? When those buttons are clicked, I want to save the Appointment
information to an SQL database "if-and-only-if" the "Synch Assignment"
Check-Box is "ON"

Thanks for your help!
Ads
  #2  
Old March 17th 09, 08:29 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Form Region, Task Pain, Ribbon Extension - which way is best?

A form region would require either using a custom message class or having
the form region on all appointments. There is also minimal control over
displaying and hiding a form region or expanding or compressing it.

It's really 6 of one, half dozen of the other. It really depends on the look
and feel you want for your UI. I've used both form regions and ribbon
controls that open/close a task pane depending on the project.

Trap the Send() event on the item that's opened for knowing when the item is
sent out. Trap the Close() and Write() events to catch saving and closing
the item and its Inspector.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"pkelley" wrote in message
...
I have Visual Studio 2005, VSTO SE, and I'm writing in C#.
I've been tasked with writing my first Add-In and it will be for Outlook
2007.
I've completed the "Walkthroughs" for:
1) Customizing the Ribbon for Outlook 2007
http://msdn.microsoft.com/en-us/library/bb226712.aspx

2) Creating an Outlook Form Region
http://msdn.microsoft.com/en-us/library/aa942741.aspx

I've learned that there are such things as "Custom Task Panes" as well as
"Custom Form Regions"

My Add-In centers around Microsoft.Outlook.Appointment.

What I am to develop is an Add-In that Extends the Outlook 2007
Appointment
Ribbon to provide a:
1. A "Configuration" button that when pressed presents a form to be
filled out containing ODBC connection information (e.g. Server, Port,
Username, Password), an OK and Cancel button
2. A "Synch Assignment" check-box that when toggled "ON" indicates that
the Outlook 2007 Appointment information is to be saved to an SQL
database.

I want to know what you recommend regarding two things:

1. Do I want to use a Custom Task Pane connected to the Ribbon to gather
my ODBC connection information, or am I supposed to use a Custom Form
Region?
Not sure when it is best to use one versus the other.

2. How do you hook the "Save & Close" and "Send" events on the
Appointment
Ribbon? When those buttons are clicked, I want to save the Appointment
information to an SQL database "if-and-only-if" the "Synch Assignment"
Check-Box is "ON"

Thanks for your help!


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Selecting which Ribbon to display for a Custom Task Form GraemeWT Outlook - Using Forms 1 January 7th 09 02:28 PM
Getting a handle on a form region Mark Lawrence[_2_] Add-ins for Outlook 1 October 21st 08 03:29 PM
Form Region cannot be opened shubhangi Add-ins for Outlook 3 April 18th 08 02:11 PM
Outlook 2007 Task Form Insert Ribbon (Attach Group) [email protected] Outlook - General Queries 9 April 26th 07 07:38 PM
Task pain stuck behind calendar Rachel L Outlook - Calandaring 1 June 22nd 06 11:17 PM


All times are GMT +1. The time now is 08:43 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.