I just installed them and added the reference to my project.
On compile:
This line:
if (objFolders.Item(i).Name == "Public Folders")
GeneralFolders = objFolders.Item(i);
Gives this error:
C:\Documents and Settings\jbailo\My Documents\pc298 Documents\Visual
Studio Projects\OutlookEmail\Email.cs(158):
'Microsoft.Office.Interop.Outlook.Folders' does not contain a definition
for 'Item'
Same exact error as before.
This code compiled under Outlook 2000
Sue Mosher [MVP-Outlook] wrote:
Nothing about the Items collection changed between versions. Did you install the PIAs for Office 2003?