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$=M_barcode.GetError(M_barcode.ErrorCode)
More: