Savedefsetting, About, Clearbuffer – MagTek MTPPSWIPE.OCX User Manual
Page 12
MTPPSwipe.OCX Programming Reference Manual
8
SAVEDEFSETTING
Saves a Key in the Registry.
Syntax
PortPowerSwipe.SaveDefSetting(Key As String, Setting 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/PPSwipe/Startup section of the registry.
Example
PortPowerSwipe.SaveDefSetting(“CommPort”, “4”)
This stores the value of “4” in the CommPort Registry Key.
Data Type
String
ABOUT
Displays a message box containing information specific to the PortPowerSwipe.
Syntax
PortPowerSwipe.About()
The About method syntax has no parameters.
CLEARBUFFER
Clears the CardData property.
Syntax
PortPowerSwipe.ClearBuffer()
The ClearBuffer method syntax has no parameters.