>>>The basic outline of what you have to do is this:
>
>
>An @...SAY will be converted to a Label control.
>
>An @...GET will be converted to a TextBox.
>
>Any SET commands go to the form's Load() Event.
>
>A READ is not required. If you want to avoid the user doing something in other forms, make the form modal.
>
>Validation of user input can be done in several events: TextBox.Valid(), TextBox.InteractiveChange(), TextBox.LostFocus() are commonly used.>>
>
>Thanks Hilmar,
>
>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..
>
>Thats what I ask for help..
>
>Thanks..
PMFJI,
Differentiating a swipe from a manual entry is not an easy task. Practically both sends scan codes to keyboard input. I've done that but as I said not very easy and debatable. Relies on ideas:
-A human cannot type as fast as a swipe card input
-A human cannot type keys with regular intervals as swipes do
(If you check timings swipe input per character are exact multiples of one another character - usually N and 2N)
-A swipe input should not be a single input (CTRL+V)
-Modifier keys are up with swipes
Not a total answer but gives starters I think.
Cetin