Yeah, I tried that already. It's actually the first way I tried to
access the items. When I kept receiving the null values, I thought
maybe the direct assignment was the problem, so I switched to looping
through with the GetNext() method.
No idea then. It's not the famous 250 limit where you're limited to about
250 or so RPC channels, that would hit you much faster.

Signature
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
> Yeah, I tried that already. It's actually the first way I tried to
> access the items. When I kept receiving the null values, I thought
> maybe the direct assignment was the problem, so I switched to looping
> through with the GetNext() method.
leahann@gmail.com - 12 May 2006 20:46 GMT
Hi Ken,
Thanks for you help. I think it actually was the 255 RPC channel
limit. Someone recommended invoking the GC, which seemed to do the
trick. I'm not sure why I was getting back several thousand items
before this limit hit its threshold, though. But, then again, GC seems
to be a bit fickle anyway, so it's not surprising.
Thanks!
Leah Ann
Alexa - 15 May 2006 16:21 GMT
Yes, I got the same problem when I was doing the same thing. I solved it by
sleeping the thread for every 5 contacts or so and then call the GC to clean
up the memory residue.
Alexa
> Hi Ken,
>
[quoted text clipped - 7 lines]
>
> Leah Ann