![]() |
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'm creating a new or editing an existing journalitem programmatically using C++ and Outlook Object Model using OL 2003 on XP. My code (shortened for readability) Assume I have a valid polApp (= _ApplicationPtr) and polNS (= _NameSpacePtr) _JournalItemPtr pItem = (_JournalItemPtr) polApp-CreateItem( olJournalItem ); or _JournalItemPtr pItem = polApp-polNS-GetItemFromID( vItemID, vStoreID ); .... pItem-Subject = CComBSTR(_T("My new subject")) ; pItem-Save(); pItem-Close(olSave); So far so cool right? And this works except that it seams like it leaves the item open. Meaning that if I open the same message in outlook, edit it and try to save it, I get the message "This message has been modified by another user" And I can only create a copy or exit and loose my edit.... Any ideas? Thank you! Ben |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
"this item could not be saved because it has been changed" error m | Ed Gogol | Outlook - Using Contacts | 5 | April 17th 06 01:27 PM |
Problem with Company names starting with "LA" or "LE" | Phil_R | Outlook - Using Contacts | 0 | April 1st 06 12:31 AM |
Problem with Company names starting with "LA" or "LE" | Phil_R | Outlook - Using Contacts | 0 | April 1st 06 12:30 AM |
"Percent" field changed to "Number" field | Vaughan | Outlook - Using Forms | 1 | March 14th 06 02:32 PM |
all inbox files changed to "unread" mode | rock9995 | Outlook Express | 20 | February 2nd 06 03:17 PM |