Re: folder.Items.count doesnt work with Outlook2003

Tech-Archive recommends: Fix windows errors by optimizing your registry



Show the code you're using. All of my code that iterates folders still works identically in Outlook 2003 and even Outlook 2007.

--
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


"RSunday" <RSunday@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:7936169D-5908-4746-98D9-9C4E36290B1B@xxxxxxxxxxxxxxxx
I have some VBA code in Access that reads mails. It works in Outlook 2000 -
but now with Outlook 2003 it doesn't any more.

I loop through the contents of a mail folder based on the value
"folder.Items.count" where "folder" is an Outlook.MAPIFolder - but now it
shows count = 0

Is there something I should change in my objects or what...

Alternatively some sample code showing how to get the mail objects from a
folder would be relevant.

Thanks

.



Relevant Pages

  • Re: Outlook displays two identical Personal Folders
    ... Create a new mail profile and point it to reuse your current active .pst ... Milly Staples [MVP - Outlook] ... ||| Folder in the folder list. ...
    (microsoft.public.outlook.installation)
  • Re: WTF is right with OE? and how to remove it. LONG!
    ... > you an SASE for a photo of those instructions. ... The instructions say Windows 2000, this works for XP as well just substitute ... the Windows folder for the Winnt folder used in the instructions. ... Outlook Express 5.x and 6.0 on a computer that is running Microsoft Windows ...
    (news.software.readers)
  • Re: archive bit not set on mail folders?
    ... Because of this tendency of attachments to infect, Microsoft has now set OE to block all attachments. ... Cannot Open E-Mail Attachments in Outlook Express After You Install SP1 ... If you choose to adjust OE to allow attachments, make sure you save the attachment to disk first and then scan it with your antivirus software. ... When a message is deleted, moved or marked as read in an OE message file, then wasted space is generated in that file, and the folder must be compacted to remove that wasted space. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: msoe.dll
    ... Double-click to expand the HKEY_LOCAL_MACHINE folder, ... click to select the Microsoft Outlook ... Don't open attachments. ... > attachment to disk first and then scan it with your antivirus software. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Uninstall OE 6 having error messages
    ... Try finding folders.dbx and rename it to folders.old with Outlook Express ... You will lose your mail folder ... >>> Everytime I open OE6 I get a Windows Error Message saying Outlook ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)