Sub Application Class

AddMessage

Add a message to the Entisoft Tools Log.

Signature (Visual Basic / VBA)

Public Sub AddMessage( _
    ByVal vMessageText As Variant _
    )

Code Example

    est.AddMessage "MyProgramName: Info: Program started."

Parameters

Parameter Description
vMessageText String message that is added to the log (and possibly appended to a log file). Subroutine silently does nothing if vMessageText is Null or cannot be fixed-up to a String.

Notes & Version History

Summary Each log message is added to a string that can be retrieved, reviewed, and reset. The log messages can also be appended to a file by setting the MessageLogFile Property.
v1.3 Change Removed 16-bit support from this function.