المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : USB read



C# Programming
01-18-2010, 05:51 AM
Hello,

I have a barcode reader attached to my computer using USB (specific port).
I want my program to run in the background and once the barcode reader read something (8 chars code), this code will be inserted into clipboard.
I know to insert string into the clipboard but how can i check the interupt from the barcode reader (and only it) and only then the program will insert the code to the clipboard, otherwise it won't do nothing.

How can i do it?