Clearbuffer, Savedefsetting – MagTek MTKBDWEDGE.OCX User Manual
Page 12
Advertising
MTKBDWedge.OCX Programming Reference Manual
8
CLEARBUFFER
Clears the CardData property.
Syntax
KbdWedge.ClearBuffer()
The ClearBuffer method syntax has no parameters.
SAVEDEFSETTING
Saves a Key in the Registry.
Syntax
KbdWedge.SaveDefSetting (Key As String, Setting As String) As String
The SaveDefSetting method syntax has these parts:
Part
Description
Key
The Registry Key.
Setting
The value stored in the Registry
Key.
Remarks
This method stores data in the HKEY_CURRENT_USER/Software/VB and VBA Program
Settings/KbdWedge/Startup section of the registry.
Example
KbdWedge.SaveDefSetting(“CommPort”, “4”)
This stores the value of “4” in the CommPort Registry Key.
Data Type
String
Advertising