I have a Magnetic Card reader connected to my PC.
I have a form with mscomm32.ocx on it, and one command button.
The code in my command button reads "Messagebox("Thisform.olecontrol1.input")
When clicked, after a card swipe, this shows my the contents of the input buffer, no probs.
I put similar code into the oncomm event, but no messagebox appears. The oncomm event does not seem to fire.
Any suggestions greatfully received.
Graham
G K Bray Programmer
I have a form with mscomm32.ocx on it, and one command button.
The code in my command button reads "Messagebox("Thisform.olecontrol1.input")
When clicked, after a card swipe, this shows my the contents of the input buffer, no probs.
I put similar code into the oncomm event, but no messagebox appears. The oncomm event does not seem to fire.
Any suggestions greatfully received.
Graham
G K Bray Programmer