Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 820
  • Last Modified:

Outlook Calendar File Format?

We have a web-based calendar for our school. However, the students use outlook calendar. We want to have their calendars to update the info in this web-based calendar automatically. How can we do this?

 The only way I am thinking off right now is to build a software to run silently in each students' computer. This software will extract the data from the web-based calendar and import to outlook. I can easily build the data extraction mechanism. However, I am not sure how to program a software to import data into outlook calendar in the background. Can someone advise me how to do this? Where can I get info about the file format of Outlook calendar?

Thank you.
  • 3
1 Solution
When run in stand-alone mode (i.e. no Exchange server) Outlook stores its data in a .pst file.  While I think there is information around about how to decipher pst files, there is an easier way, in my opinion at least.

Outlook provides a rather robust API that permits reading and writing of data in the pst file including the calendar.  It's implemented as a COM object so you can access it from and programming environment that supports COM which these days is just about anything.

First of all, here is a great online resouce with lots of Outlook programming information:


Microsoft has information about the interface here.  (Note that it say VBA Language but this is applicable to any programming language.):


quanghocAuthor Commented:
Thanks jhance,
 Somehow I couldn't find a specific sample code for adding new event in calendar. Do you know of anything like this? I haven't been using VBA for a long time so a sample code would help much more.
Sorry, wrong link.  See:


for a VB example of adding an appt in Outlook.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now