Jump: Search:

Total Visual SourceBook

Total Visual SourceBook CD and Printed Manual

Microsoft Access 2007/2010 Version
is Shipping!

New features in Total Visual SourceBook for Access, Office 2007 and VB6

Supports Access/Office 2010 (32 bit), 2007, 2003, 2002, 2000, and
Visual Basic 6.0!

Also available for:
Access 97/95


View all FMS products for Microsoft AccessAll Our Microsoft Access Products

SourceBook Info:

Why SourceBook?

 

"The code is exactly how I would like to write code and the algorithms used are very efficient and well-documented."

Van T. Dinh, Microsoft MVP

 

 

 

 

 
Royalty free source code library modules for Microsoft Access, VB6, VBA, OfficeRoyalty free source code library modules for Microsoft Access, VB6, VBA, OfficeVBA and VB6 Source Code Library Download the free trial version of Total Visual SourceBook for Microsoft Access, Office, VB6 and VBA
Category: Microsoft Outlook : Automation
Description: Microsoft Outlook Automation

Class: COutlookFolders

Working with Microsoft Outlook Folders through Automation

Procedure Name

Type

Description

(Declarations) Declarations Declarations and private variables for the COutlookFolders class
AppNameSpace Property Gets a handle to the current instance of the Outlook NameSpace
AppOutlook Property Gets a handle to the current instance of Outlook
CurrentFolder Property Gets a handle to the Current Folder
DestinationFolder Property Gets a handle to the Destination Folder for Move and Copy Actions
FoldersTree Property Sets a handle to the TreeView you want to populate and resets it
LastErrDescription Property Gets the description of the last error generated
LastErrNumber Property Gets the error number of the last error generated
RootFolder Property Sets a handle to the Root Folder
AddFolder Method Adds a new folder
Class_Initialize Initialize Initialize internal variables
Class_Terminate Terminate Cleanup class variables opened for Outlook
CloseOutlook Method Closes an instance of Outlook
CopyAllItems Method Copies all items from the current folder to the destination folder
CopyItem Method Copies an item from the current folder to the destination folder
DeleteAllItems Method Deletes all items from the current folder
DeleteFolder Method Deletes a folder
DeleteItem Method Deletes an item from the current folder
EmptyDeletedItemsFolder Method Empties the "Deleted Items" folder
EmptyFolder Method Empties the specified folder with optional filter on the received time
EmptyJunkMailFolder Method Empties the "Junk E-Mail" folder with optional filter on the received time
FoldersToTreeView Method Converts the passed folder reference into a treeview structure
GetFolderFilter Private Create the filter string to limit the folder items to a date range
GetFolderList Method Gets a list of folders
ItemsToListView Method Converts the iems in the "CurrentFolder.Items" collection to a listview structure. The CurrentFolder Property must be set before calling this method.
MoveAllItems Method Moves all items from the current folder to the destination folder
MoveItem Method Moves an item from the current folder to the destination folder
OpenFolder Method Sets the Current folder
SaveAttachmentsToDisk Method Saves all email attachments from messages in the current Outlook folder to disk. Set the current folder by using the OpenFolder method.
StartOutlook Method Starts an instance of Outlook

Overview of Total Visual SourceBook

The source code in Total Visual SourceBook includes modules and classes for Microsoft Access, Visual Basic 6 (VB6), and Visual Basic for Applications (VBA) developers. Easily add this professionally written, tested, and documented royalty-free code into your applications to simplify your application development efforts.

Additional Resources

Feedback

Contact Us  l   Web questions: Webmaster   l   Copyright © FMS, Inc., Vienna, Virginia
Celebrating our 26th Year of Software Excellence