How to add code to standard form?

  • Thread starter Thread starter deko
  • Start date Start date
D

deko

I'm an Access developer and have a program that exports/imports to/from the
Outlook calendar. The request I'm trying to accommodate is the ability to
double-click on the Location field in the Appointment form and go to a
particular contact in the Access database based on the string value in the
Location field.

I can open the form in design mode, but how do I access the
events/properties of the Location field? Can this be done? Other options?

Thanks in advance.
 
Since Outlook forms don't fire any kind of double-click event, I'd suggest using a COM add-in to add a toolbar button with the functionality you want.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
That sounds like the way to go - no custom form to worry about.

But what about .NET? Must I use COM?



(e-mail address removed)...
Since Outlook forms don't fire any kind of double-click event, I'd suggest using
a COM add-in to add a toolbar button with the functionality you want.
 
You can use Visual Studio to build add-ins that use COM interop to interface with Outlook. If you are targeting only Outlook 2003, I'd recommend using Visual Studio 2005 Tools for Office (which is included in most of the VS 2005 SKUs).

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Yes, Office 2003 only.

I've been looking for a reason to start playing with VSTO...

Thanks for the tip.


You can use Visual Studio to build add-ins that use COM interop to interface
with Outlook. If you are targeting only Outlook 2003, I'd recommend using
Visual Studio 2005 Tools for Office (which is included in most of the VS
2005 SKUs).

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top