I have this QR code:
Text inside is <QR><DOM>DOM2201064</DOM><DOP>95237</DOP><ART>D-RSP_BOK-S-420-16-Z5</ART><QTY>128</QTY></QR>
On my phone and PC, I have installed the Barcode to PC
application, so my phone is now working as a QR scanner. I can scan codes and text from QR is automatically inserted e.q. into WordPad, Excel, etc.
Unfortunately, I have a problem inserting scanned text into TextBox input even if it is focused, visible, and editable. I tried to add KeyDown and TextChanged events, but it doesn't react on any scan.
Where can be a problem?
CodePudding user response:
The issue is most likely that your application runs with admin privileges while the "Barcode to PC" software doesn't.
There are two possible solutions:
Either don't run your own application with admin privileges.
Or start the "Barcode to PC Server" software with admin privileges (Make sure the software is not already running)