iimGetLastError
Top  Previous  Next


Returns the text associated with the last error.

Syntax


String err_message = iimGetLastError (  )


Parameters

None


Examples

Display a dialog if iMacros cannot be initialized (Visual Basic Script example):

Dim imacros, iret
Set imacros = CreateObject("InternetMacros.iim")
iret = imacros.iimInit()
If iret < 0 Then
  MsgBox "An error occured: " + vbNewline + _
    imacros.iimGetLastError()
End If

See Also




Page URL http://www.iopus.com/imacros/help/scripting_iimgetlasterror.htm