Getting Data from Outlook

Listing 25.3 illustrates how, subsequent to obtaining a reference to the MAPI folder object, you can read information about each message in the subject inbox. This information includes the sender's name, the subject, the message size in bytes, the time the message was received, and the entire message contents. With this information, you can then construct a process diagram based on Visio's organizational charting to display all the information about the messages in the inbox. The code is in FromOutlook2000 CH25.vsd on the companion CD.

Listing 25.3. Building an Organizational Chart from Outlook Data
 Public Sub FromOutlook2000() Dim pagObjVis As Visio.Page Dim shpObjVisThisShape1 As Visio.Shape Dim shpObjVisThisShape2 ...

Get Professional Development with Visio® 2000 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.