OLE Automation Routines


Wilbur provides a number of OLE Automation routines which permit indexes to be built and searched by other programs. All of the routines will be discussed in terms of Visual Basic and its VBA counterpart used in Microsoft Office products. Of course any language capable of calling OLE automation routines could be used.

The following functions are supported:

Creating a Wilbur Object  
AddExclude Adds a string to the exclude file list
AddInclude Adds a string to the include file list
AddMessage Adds a message to the message list
Build Builds the index
ChangeDrive Changes the current drive
ClearExcludes Removes everything from the exclude file list
ClearIncludes Removes everything from the include file list
ClearMessages Removes all messages from the message list
GetAddedCharacters returns non standard indexable characters
GetAddedTrailing returns non standard indexable characters that cannot appear first in a word
GetDOSText returns the status of the DOS Style Text flag.
GetExclude returns an item from the exclude file list.
GetInclude returns an item from the include file list.
GetInternational returns the status of the International Characters flag.
GetMessages retrieves the message list.
GetNumberHandling get the type of number handling used for the index.
GetNumberOfBytes get the number of bytes indexed.
GetNumberOfFiles get the number of files indexed.
GetNumberOfWords get the number of unique words indexed.
GetTimeCreated get the time the index was build or updated.
GetZip get the status of the zip flag.
GetZipEncryptionFlags get the zip encryption flags
OpenIndex Loads a Wilbur index from the disk
Quit close the index and release the object
RemoveExclude Removes an entry from the exclude file list
RemoveInclude Removes an entry from the exclude file list
SaveIndex Saves the index to disk
SearchFor searches the index and returns a list of files with matching phrases.
SearchForEx searches the index using file criteria and returns a list of files with matching phrases.
SetAddedCharacters sets non standard indexable characters
SetDOSText sets the status of the DOS Style Text flag
SetInternational sets the status of the International Characters flag.
SetNumberHandling set the type of number handling used for the index.
SetTrackAll sets the track all files flag.
SetZip sets the status of the zip flag.
SetZipEncryption sets the zip encryption flags and password
Update Updates the index

Copyright © 1999 RedTree Development Inc. All rights reserved.
Information in this document is subject to change without notice.
Other products and companies referred to herein are trademarks or registered trademarks of their respective companies or mark holders.