I am developing application which will read credit card no without generating keystrokes for same in POS for .net. I can enable device but when I swipe a card MSR_Dataevent is not firing.
EDIT: I have done below code:
myMSR = myExplorer.CreateInstance(MsrDevice)
myMSR.Open()
myMSR.Claim(60000)
myMSR.AutoDisable = True
myMSR.DecodeData = True
myMSR.TransmitSentinels = False
myMSR.DataEventEnabled = True
myMSR.DeviceEnabled = True
RemoveHandler myMSR.DataEvent, AddressOf myMSR_DataEvent
AddHandler myMSR.DataEvent, AddressOf myMSR_DataEvent
AddHandler myMSR.ErrorEvent, AddressOf myMSR_ErrorEvent
Make sure you are calling device.Open(), device.Claim(), and also setting the DataEventEnabled property to true.