4-38 Programmer’s Manual
DisableAllCodes
Description
Disables all bar codes. This function will cause all barcodes to be
disabled from being scanned. Use this function when you want to enable
only a few selected codes.
Syntax
public void DisableAllCodes();
Parameters
None
Return Values
None
Example C#
using Ultra;
Ultra.Scan.Control CONTROL = new Ultra.Scan.Control();
// Instantiate class
CONTROL.DisableAllCodes(); // Disable all bar codes
// Enable needed bar codes here
CONTROL.CommitChanges(); //--Save Changes to the Scanner
// Configuration
Example VB.NET
Imports Ultra
Dim CONTROL As New Ultra.Scan.Control ' Instantiate class
CONTROL.DisableAllCodes() ' Disable all bar codes
' Enable needed bar codes here
CONTROL.CommitChanges()
' Save Changes to the Scanner Configuration