>I had done that, but the textboxt for the card number accept manual entry, I want not to accept entries unless entries from a magnetic card / smart card. just like a readonly control but it can write/display when a card is swipe/inserted to a card reader..
If you change the .ReadOnly property to .T., you can still change the contents programmatically.
I don't know about card readers.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)