Type: BSTR
Syntax: GetError(LPINT Errorcode)
The GetError(Errorcode) method returns the text (a BSTR string) of the error message corresponding to the Errorcode value. So a string variable may be filled with the error message using
X$=Axbarcode1.GetError(Axbarcode1.ErrorCode)
More: