As there are so many barcode symbologies, have you chosen a target barcode? I have ever used a barcode generation control that supports most common linear and 2D barcodes, including Data Matrix, QR Code, Code 39, etc. And I have referred to this Code 39 barcode generation tutorial:
www.rasteredge.com/.../