PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Creating an appointment item in a Public Calendar
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Creating an appointment item in a Public Calendar
![]() |
Creating an appointment item in a Public Calendar |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
The complete story is that we use Goldmine as our CRM and when a user schedules an appointment in Goldmine I want that appointment to be mirrored in our Public Calendar. Goldmine can activate an external program when an event happens, eg appointment is scheduled, and passes to the program the record number of the newly created appointment record. So the plan was to have a VB program that would open the Goldmine database (a dBase file), read the relevant appointment details and create an appointment record in the Public Calendar. I'm not sure how VBscript/VBA within Outlook would work in this case but I am willing to be advised. Seamus "Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message news:ecjhtT1HFHA.2276@TK2MSFTNGP15.phx.gbl... > Why not just use the Outlook object model to create the item directly in > the > folder, using the MAPIFolder.Items.Add method? > > FYI, there is a newsgroup specifically for general Outlook programming > issues "down the hall" at microsoft.public.outlook.program_vba or, via web > interface, at > http://www.microsoft.com/office/com...ook.program_vba > > -- > Sue Mosher, Outlook MVP > Author of > Microsoft Outlook Programming - Jumpstart for > Administrators, Power Users, and Developers > http://www.outlookcode.com/jumpstart.aspx > "Seamus Conlon" <seamus.conlon@eurokom.ie> wrote in message news:44nVd.48693$Z14.36318@news.indigo.ie... >I am writing a VB program that needs to create an appointment item in > a Public Calendar but I believe that CDO 1.x doesn't support this and > MAPI only allows message items to be created. I also thought of creating > the items in the personal calendar and moving or copying them but this > does seem to be supported either. > > Does anyone have any ideas on if and how this can be done? > > Many thanks, > Seamus Conlon > |
|
|
|
#2 |
|
Guest
Posts: n/a
|
In that scenario, you'd definitely use MAPIFolder.Items.Add. There's no need
to resort to CDO. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Seamus Conlon" <seamus.conlon@eurokom.ie> wrote in message news:z6FVd.48756$Z14.36268@news.indigo.ie... > > The complete story is that we use Goldmine as our CRM and when a user > schedules an appointment in Goldmine I want that appointment to be > mirrored in our Public Calendar. Goldmine can activate an external > program when an event happens, eg appointment is scheduled, and passes > to the program the record number of the newly created appointment record. > So the plan was to have a VB program that would open the Goldmine > database (a dBase file), read the relevant appointment details and create > an appointment record in the Public Calendar. > > I'm not sure how VBscript/VBA within Outlook would work in this case > but I am willing to be advised. > > Seamus > > "Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message > news:ecjhtT1HFHA.2276@TK2MSFTNGP15.phx.gbl... >> Why not just use the Outlook object model to create the item directly in >> the >> folder, using the MAPIFolder.Items.Add method? >> > "Seamus Conlon" <seamus.conlon@eurokom.ie> wrote in message > news:44nVd.48693$Z14.36318@news.indigo.ie... >>I am writing a VB program that needs to create an appointment item in >> a Public Calendar but I believe that CDO 1.x doesn't support this and >> MAPI only allows message items to be created. I also thought of creating >> the items in the personal calendar and moving or copying them but this >> does seem to be supported either. |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

