developer.com
Search EarthWeb
CodeGuru | Gamelan | Jars | Wireless | Discussions
Navigate developer.com
Architecture & Design  
Database  
Java
Languages & Tools
Microsoft & .NET
Open Source  
Project Management  
Security  
Techniques  
Voice  
Web Services  
Wireless/Mobile
XML  
New
 
Technology Jobs  

   Developer.com Webcasts:
  The Impact of Coding Standards and Code Reviews

  Project Management for the Developer

  Defining Your Own Software Development Methodology

  more Webcasts...




See The Winners!




Developer Jobs

Be a Commerce Partner














 


Developer News -
Sun Releases NetBeans 6.7 IDE for Java, PHP    June 29, 2009
Why Firefox Doesn't Take Google Chrome Features    June 26, 2009
First Major PHP Update in Years Coming Soon    June 25, 2009
Red Hat CEO Calls on Oracle to Keep Java Open    June 25, 2009
Free Tech Newsletter -

Outlook 2000 VBA Programmers Reference
By Dwayne Gifford

Go to page: 1  2  3  4  5  6  Next  

This information is based on Dwayne Gifford's book, Outlook 2000 VBA Programmers Reference

The Folders collection represents the available folders at any given level of the folder hierarchy. The concept of the Folders collection is recursive in nature, meaning that you can have as many levels of folders as you want. The screenshot below shows a typical folder hierarchy indicating the different folder levels.


Blow Up!

You can see that the Mailbox – Dwayne Gifford Folders collection contains a number of individual Folder objects, Calendar, Contacts, etc. Each folder can contain Outlook items and MAPIFolders.

The various properties, methods and events of the Folders collection and Folder object allow navigation to and manipulation of these folders and the items that they contain.

There are two ways to get a reference to a Folders collection. The first is through the NameSpace object. This will return the root Folders collection

Syntax:

Dim ofcFolders as Folders
Dim onMAPI as NameSpace

Set ofcFolders = onMAPI.Folders

The second is from a MAPIFolder object. This will return the Folders collection representing all folders contained by the specified MAPIFolder.

Dim ofcFolders as Folders
Dim ofFolder as MAPIFolder

Set ofcFolders = ofFolder.Folders

For example if we choose the Notes folder to be the MAPIFolder then the ofcFolders collection would contain all folders starting Level 2.

Go to page: 1  2  3  4  5  6  Next  


Tools:
Add www.developer.com to your favorites
Add www.developer.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed


Visual Basic Archives






internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs