ltmmGetErrorText Method

Visual Basic Example

Syntax

ltmmGetErrorText(errorcode As Long) As String

Remarks

Retrieves the error string for the specified error code.

This method should be called from inside VB events to retrieve the error string. This is needed because VB resets the Err object, which makes Err.Description an empty string. Otherwise, Err.Description will be the same as the text returned by ltmmGetErrorText. Invalid error codes passed to this method will return an "Internal error" message.