T
Ted Byers
While I have been programming for two dozen years, in fortran, C++ BASIC,
and a few other languages, I have yet to develop a program that needed to
interact with an MS Office application. Now I need to do so, so a
quickstart boost would be useful. I can use either VB or VC++ for this.
Here is what I need to do.
1) The first time my program starts, it needs to validate its own contact
information with all of the contact information in Outlook at the time.
2) Assuming my program is subsequently started whenever the OS is started,
it needs to be notified whenever contact information is edited or added. I
must therefore ask if Outlook published events that my program can respond
to. On the outside chance that my program isn't running at the time contact
information is changed within Outlook, is it possible to configure outlook
to start my program if it isn't running at the time the change is made. If
my program needs to edit contact information in Outlook, is it possible to
distinguish between edits made through the user interface and those made by
my program (I assume that add or change events would be generated in both
cases, so I'd need a way to distinguish the two cases).
Here are some other questions: "Is it possible to configure Outlook on
workstations on a LAN to share a contact database even if the LAN is not
running MS Exchange?" "Is it possible to have a program running on one
workstation access the Outlook contact data on another workstation (provided
appropriate persmissions can be set by the network administrator)?" For
each of these questions "If so, how?"
Sample code, either in your response or which can be found at some URL,
would be greatly appreciated, especially if it shows how to access each of
the elements of the contact information.
Thanks for any help you can provide.
Cheers,
Ted
and a few other languages, I have yet to develop a program that needed to
interact with an MS Office application. Now I need to do so, so a
quickstart boost would be useful. I can use either VB or VC++ for this.
Here is what I need to do.
1) The first time my program starts, it needs to validate its own contact
information with all of the contact information in Outlook at the time.
2) Assuming my program is subsequently started whenever the OS is started,
it needs to be notified whenever contact information is edited or added. I
must therefore ask if Outlook published events that my program can respond
to. On the outside chance that my program isn't running at the time contact
information is changed within Outlook, is it possible to configure outlook
to start my program if it isn't running at the time the change is made. If
my program needs to edit contact information in Outlook, is it possible to
distinguish between edits made through the user interface and those made by
my program (I assume that add or change events would be generated in both
cases, so I'd need a way to distinguish the two cases).
Here are some other questions: "Is it possible to configure Outlook on
workstations on a LAN to share a contact database even if the LAN is not
running MS Exchange?" "Is it possible to have a program running on one
workstation access the Outlook contact data on another workstation (provided
appropriate persmissions can be set by the network administrator)?" For
each of these questions "If so, how?"
Sample code, either in your response or which can be found at some URL,
would be greatly appreciated, especially if it shows how to access each of
the elements of the contact information.
Thanks for any help you can provide.
Cheers,
Ted