Hi, Short description: String Error handling in VB6 I guess the solutions is simple for you, but i can´t code it. I wrote an app for reading a Smart Card. It´s a special Cherry Keyboard (G80-1501 HAD) with integrated SmartCard Reader. If you plug in the ChipCard, the Keyboard sends ALT Sequences (Sendkeys) to my app and i capture the Keys in a Textbox. Than the app will bring the data into a special format and writes an ASCII File on HDD. That´s all stuff you don´t have to work on. The SmartCard Reader locks the Keyboard when a card is pluged in. So a User cannot make a mistake when the card is pluged in. My Problem is, that a user can press a button befor the Chipcard is pluged in. This text will than become part of the hole String (includes the Chipcard output) and the data is not correct. I have a sample app in the ZIP File. I have some ideas to solve the problem but had no success with coding the ideas. 1) We have to set a variable (Integer) where the time Limit is stored Maybe Error_Polling% = 200 (in ms) 2) Now check every interval the KVK_Input and watch if there is new Input If there is no input bedween the cycles than delete the whole input 3) If bedween the cycles is a change than da nothing (continous user keystrokes) 4) If the user stops writing, and there is no change bedween the cycles than delete input 5) If the user is hacking keystrokes and simultaniously pluges the SmartCard in (in the App simulated with the ChipCard Input Button) than we can do not much. I have implemented an error checking if the string befor the first seperator "?" is more than 28 characters long. But if it is less than 28 characters i did not find a solutions to handle that. If you have any ideas please send an eMail. 6) If the user sends an "?" we have to intercept that. This is a special seperator in the ChipCard Input. See the code for mor information. If there are any question please send me an eMail !!! Oliver Zanker
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Well commented code 3) Complete ownership and distribution copyrights to all work purchased. 4) I will only pay after testing !!! 5) Payment only with $ or EUR
## Platform
Clients: WinXP Pro, W2K Srv, W2003 Srv Language: VB6 only