Merhaba,
Barkod okuyucunun okuduğu kodu c# ile nasıl alabilirim ?
Barkod Okuyucu
2
●184
- 01-08-2018, 15:28:56
- 01-08-2018, 18:50:19barkod okuyucu klavye gibi davranır okuduktan sonra o anki aktif bölüme yazar ve enter tuşuna basar.
şöyle yapabilirsiniz;
form'a bi tane textbox ekleyin.
void Form1_Load(object s, EventArgs e) { textBox1.Focus(); } void textBox1_KeyPress(object s, KeyPressEventArgs e) { if (e.KeyChar == (char)Keys.Enter) { MessageBox.Show(textBox1.Text); } }bu sayede barkod okuyucu ile okunan veriyi ekrana verdirebilirsiniz.