A list of products available on this site
Documentation for XtraMania's xtras
Prices and links to the online store
Xtras, PDFs, samples
Have a question? Ask us!
Contacts
Logo. www.xtramaina.com  
Home Search E-mail
VbScriptXtra Reference/objAuto.LastError

objAuto.LastError

Syntax

strErrorDescription=objAuto.LastError

Returns

String with last error's description or empty string if the last call was successful.

Description

Use LastError property to get the description of error occurred. Use debug mode to automatically get error descriptions in Messages window.
Use LastErrorCode property to get the numerical code of the error.

See Debugging for related information.

Sample

if objAuto.Failed then
  put objAuto.LastError
end if

Site homeSearchContact author © Eugene Shoustrov. www.xtramania.com