RFC: Is all this possible?

J

Jeffrey

Hi there,

I am investigating the possibilities of modifying Outlook (2002) for our
company's specific needs. I am using Visual C#.NET to develop a COM
add-in. What I'd like to accomplish is add a new tabsheet to the 'New
Appointment' form ( Calendar -> New -> Appointment ), which will contain
two listboxes that get populated by manually connecting to an SQL database
( our application's one ) and retrieve a list of organizations and
contacts thereof that are linked to the appointment that's being created,
so my Exchange synchronization tool can link the new appointment to the
right organization/contact in our software.

This means there's two things that need to be done:

- design a tabsheet and somehow add it to the right form (the one shown
when you click New Appointment)
- use a System.Data.SqlClient.SqlConnection to populate the listboxes

Is this at all possible? Will Outlook allow me to use my own SQL
connectivity to retrieve data? Can I just add a tabsheet to an existing
form or will I have to create my own custom form from scratch (I've read
here that's possible, but I'm trying to avoid it, as it's only one tab I
need added.) ?

If anyone has useful information on these subjects, please let me know.
Thanks in advance.

Regards,
Jeffrey
 
S

Sue Mosher [MVP-Outlook]

The addition of the list boxes is not with C# programming but with
customization of the Outlook appointment form. Your COM add-in could fill
the list boxes when the Inspectors.NewInspector event fires and the
resulting Inspector displays an item using your form.
 
J

Jeffrey

The addition of the list boxes is not with C# programming but with
customization of the Outlook appointment form.Your COM add-in could fill
the list boxes when the Inspectors.NewInspector event fires and the
resulting Inspector displays an item using your form.

I think you misread the question. Of course it doesn't have to do with the
language it's being developed in. The problem is whether I can add a new
tabsheet to an existing form ( the 'new appointment' inspector form ) or
if I have to create my custom one from scratch and replace the original
one with it. I have found out you can add buttons and such, but nothing
about tabsheets. I have already kind of decided a button will do, however,
and launch a new form when the button is clicked.

The Inspectors.NewInspector event is probably gonna help me a lot. Thanks
for that one. The only thing I need to find out now is whether the new
Inspector is a mail or appointment inspector, because it only needs to be
added to the latter.

Regards,
Jeffrey
 
J

Jeffrey

The Inspectors.NewInspector event is probably gonna help me a lot.
Thanks for that one. The only thing I need to find out now is whether
the new Inspector is a mail or appointment inspector, because it only
needs to be added to the latter.

which was answered by you in another thread, Google told me. Thanks.

Regards,
Jeffrey
 
S

Sue Mosher [MVP-Outlook]

You can modify only the existing custom pages, P.2 - P.6, in an appointment
form. You cannot insert other pages besides those or modify any of the other
pages.

--
Sue Mosher, Outlook MVP
Author of
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