View Single Post
  #10  
Old May 29th 09, 11:34 AM posted to microsoft.public.outlook.program_addins
Ashish[_3_]
external usenet poster
 
Posts: 10
Default Outlook become non responsive if i write outlook item in bulk

Hi Dimitri,

I didn't notices, am i taking to Dimitry , the father of redemption dll.I am
honoured
By the way, i have raised this issue as bug to microsoft also.

Best Regards
Ashish Rawat


"Ashish" wrote:


Hi Dimitry,

We are talking about update scenario here.

Best Regards
Ashish rawat

"Dmitry Streblechenko" wrote:

" lastmodification time property will not get updated." - what exactly do
you mean by that?
If you are creating a brand new item, surely you would get some value in the
lastmodification time propety. What is it?


--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Ashish" Ashish @discussions.microsoft.com wrote in message
...
Hi
I write outlook item using the simple MAPI api .
Following is the code example.
Dim MyFolder As Microsoft.Office.Interop.Outlook.MAPIFolder
Dim MyFileName As String
Dim OlType As Microsoft.Office.Interop.Outlook.OlItemType
Dim TypeSuffix As String
Dim olitem as object
OlType = GetCorrespondingOlItemType(CalType)
TypeSuffix = GetCorrespondingSuffix(CalType)
MyFolder = IIf(OlType =
Microsoft.Office.Interop.Outlook.OlItemType.olTask Item, mobjTaskMAPIFld,
IIf(OlType =
Microsoft.Office.Interop.Outlook.OlItemType.olAppo intmentItem,
mobjApptMAPIFld, mobjContactMAPIFld))

On Error GoTo OpenAsDefault
Err.Clear()
olitem= MyFolder.Items.Add(OlType)
olitem.save
System.Runtime.InteropServices.Marshal.FinalReleas eComObject(olitem)

if a write many items in bulk, the oulook behaves inconsistently,
Even if i create a new contact manually and update it, lastmodification
time
property will not get updated.

Though this issue is not consistenly reporducible, can some help me
finding
any reason why this is happening ?

Thanks in advance.

Best Regards
Ashish Rawat




Ads