Please help.
I have used VB for outlook auomation an am trying to use c#, but I
can't seem to get foreach to work in this way, but vb is fine...
outlook2002, gives
Form1.cs(103): foreach statement cannot operate on variables of type
'Outlook.Items' because 'Outlook.Items' does not contain a definition
for 'GetEnumerator', or it is inaccessible
Does anyone have any ideas ?
Cheers
Robin
>I had been a bit hasty to post my question, now I found the solution to my
>problem.
[quoted text clipped - 23 lines]
>> thanks!
>> Sam
Oz Kologlu - 21 Sep 2005 00:56 GMT
Use items.GetNext()
Oz
> Please help.
> I have used VB for outlook auomation an am trying to use c#, but I
[quoted text clipped - 39 lines]
>>> thanks!
>>> Sam