BarCodeWiz Barcode ActiveX
Control
User Manual
 | Installation |
 | Quick Start |
 | Bar Code Types (Symbologies) |
 | Reference |
 | Properties |
 | Methods |
 | Events |
 | License |
|
This method verifies that the current bar code is valid.
Syntax
BarCodeWiz1.Verify ([ByVal barcode As String]) As Boolean
By supplying the optional barcode value, you may check whether a bar code is valid without changing the bar code value of the component.
| BarCodeWiz1.Symbology = Code_39 'Change the bar code type to Code 39
|
| BarCodeWiz1.Barcode = "1234ABC"
|
| bResult = BarCodeWiz1.Verify '"1234ABC" is a valid Code 39 bar code (bResult = True)
|
| 'This line checks for validity of the bar code string
|
| ' without setting the value of BarCodeWiz1.Barcode
|
| bResult = BarCodeWiz1.Verify("1234abc") '"1234abc" is not a valid Code 39 bar code
|
|