rt。谢谢

解决方案 »

  1.   

    查找outlook的COM接口,MSDN上VBA的代码比较多。
    参考下面的代码:Set MyOL = CreateObject("Outlook.Application")
    Set MyNS = MyOL.GetNamespace("MAPI")
    Set MyAP = MyOL.Application.CreateItem(olAppointmentItem)
    Set MyAPRpattern = MyAP.GetRecurrencePattern
      

  2.   

    AppointmentItem Object
    Represents an appointment in the Calendar folder. An AppointmentItem object can represent a meeting, a one-time appointment, or a recurring appointment or meeting.Using the AppointmentItem ObjectUse the CreateItem method to create an AppointmentItem object that represents a new appointment. The following Visual Basic for Applications example returns a new appointment.Set myOlApp = CreateObject("Outlook.Application")
    Set myItem = myOlApp.CreateItem(olAppointmentItem)
    Use Items(index), where index is the index number of an appointment or a value used to match the default property of an appointment, to return a single AppointmentItem object from a Calendar folder.
    HOWTO: Get the Currently Selected Item in an Outlook Folder from Visual C++ Q241287
    OL97: Use OLE Automation with Microsoft Outlook 97 Q170262
    ACC: Using Automation to Add Appointments to Microsoft Outlook Q160502
    ACC2000: How to Use Automation to Add Appointments to Microsoft Outlook Q209963
      

  3.   

    搞定。谢谢: kingzai() ,
    原因是不知道
    Appointments里的东西就是calendar需要的信息
    汗~~~