![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi
I use the following code to create a journal item in outlook: pApp.CreateInstance(__uuidof(Application)); pApp-CreateItem(olJournalItem,(IDispatch**)&pCallInfo) ; pCallInfo-put_ContactNames(bsCaller); pCallInfo-put_Subject(bsSubject); pCallInfo-put_Body(bsBody); pCallInfo-put_Type(bsType); pCallInfo-Save(); Here my question is: i want to relate a contact to the journal item(which is a phone call entry),but i cann't found any calls i can use to achieve this goal, any tips? thanks in advance |
Ads |
#2
|
|||
|
|||
![]()
The Links collection is what you want to work with. That has an Add method
that takes a contact item. Once the Link is added you can see the journal item linkage in the Activities tab of the contact item and the link to the contact item in the journal item. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "ringerxyz" wrote in message ... Hi I use the following code to create a journal item in outlook: pApp.CreateInstance(__uuidof(Application)); pApp-CreateItem(olJournalItem,(IDispatch**)&pCallInfo) ; pCallInfo-put_ContactNames(bsCaller); pCallInfo-put_Subject(bsSubject); pCallInfo-put_Body(bsBody); pCallInfo-put_Type(bsType); pCallInfo-Save(); Here my question is: i want to relate a contact to the journal item(which is a phone call entry),but i cann't found any calls i can use to achieve this goal, any tips? thanks in advance |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
journal entries not showing on contact journal page. | jeffrey | Outlook - Using Contacts | 3 | November 18th 08 03:41 PM |
New Journal Entry for Contact | Rich S[_2_] | Outlook - Using Contacts | 2 | April 25th 08 03:31 AM |
why can't I see my journal entries in contact? | Wiry | Outlook - Using Contacts | 3 | August 17th 06 05:20 PM |
Contact activities vs Journal | hobbesotr | Outlook - Using Contacts | 2 | June 5th 06 09:07 PM |
automatically add a contact to the journal | T8ntlikly | Outlook - Using Contacts | 0 | January 12th 06 12:52 PM |