How to add code to standard form?

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.
 
S

Sue Mosher [MVP-Outlook]

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
 
D

deko

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.
 
S

Sue Mosher [MVP-Outlook]

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
 
D

deko

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top