devxlogo

Using MS Office Objects From ASP Pages

Using MS Office Objects From ASP Pages

Question:
Is it possible to create a server-side object so that an ASP page can gain access to Microsoft Office information? I am trying to find a way to edit information in the calendar/scheduler tool in Outlook from an ASP page.

Answer:
Yes, it is possible. You can use Server.CreateObject(“class name”) to create an object and then access its properties and methods. To access the Calendar, use the objects exposed by the MAPI subsystem under windows. If you have Outlook Web Access, take a look at the code to see how it is done.

devx-admin

Share the Post: