J
John Smith
Hello,
oom 2002 doesnt free memory while i loop though items collection.
dim iItems as Outlook.Items
Dim iItems2 as outlook.Items
Dim iItem as Object
Dim newItem as Object
set iItems=......
for each iItem in iItems
set newItem = iItems2.Add("IPM.Appointmen.MyPM")
newItem.SomeProp = iItem.SomeProp
....
newItem.Save
set newItem=Nothing
next
While iterating throug iItems collection oom doesnt free memory and i end
up with windows running out of sysres.
Are there any warkarounds for this problem?
Thanks!
oom 2002 doesnt free memory while i loop though items collection.
dim iItems as Outlook.Items
Dim iItems2 as outlook.Items
Dim iItem as Object
Dim newItem as Object
set iItems=......
for each iItem in iItems
set newItem = iItems2.Add("IPM.Appointmen.MyPM")
newItem.SomeProp = iItem.SomeProp
....
newItem.Save
set newItem=Nothing
next
While iterating throug iItems collection oom doesnt free memory and i end
up with windows running out of sysres.
Are there any warkarounds for this problem?
Thanks!