Carddata, Startcode – MagTek MTKBDWEDGE.OCX User Manual

Page 6

Advertising
background image

MTKBDWedge.OCX Programming Reference Manual

2

CARDDATA
Sets or returns the Card Data buffer for the KbdWedge control.

Syntax

KbdWedge.CardData[ = value]

The CardData property syntax has these parts:

Part

Description

Value A string value specifying the card data.

Remarks

CardData will have the magnetic stripe information from the last card read or it can be set by
assigning a string to the buffer.

Data Type

String



STARTCODE
Sets or returns the KeyCode to trigger a start of capture for the KbdWedge control.

Syntax

KbdWedge.StartCode[ = Value]

The StartCode property syntax has these parts:

Part

Description

Value

An integer value specifying the Start Code.

Remarks

StartCode is a key code, such as ‘53’ (the vbKey5, or 5 key). The default is 53, which is the 5
key on the keyboard combined with a StartShift of 1 (the SHIFT key). This identifies that the
Shifted 5 key (i.e., the “%” character) represents the starting character. IF the reader is
configured to output an STX character as its first character, then change the StartCode to "66"
and the StartShift="2". This configuration represents the “Control+B”, or STX, character.

Data Type

Integer

Advertising