I'm not good in developpment and I need help for using the barcode and execute a barcode scan in C#.
I have not enough skills for understand and perform alone.
I would like to make a simple form where with one button I can perform a scan.
In this form I would like get data in a rich text box, and the type in a text box.
I tried to do something like that but it's not complete.
I need to know the correct syntax for:
- Get the type
- get the data
To put the data and the type in a tring I can display in a rich text box and a textbox.
If anybody can help it will be great:
public partial class Form1 : Form
private void button1_Click(object sender, EventArgs e)
//Create a BarcodeReader object.
bcReader = new BarcodeReader();
Barcodes barcodeList = bcReader. // I think it's not good
bcReader.Barcodes.GetType(a); // I think it's not good again
bcReader.Barcodes.ToString(a); // I think it's not good again and I don't know what to write :(
textBox1.Text = a;
Thanks to read me.