Skip to Content

C39Tools & Visual Basic

code 39 barcodes in your custom programs

Use C39Tools within Visual Basic to create Code 39 barcodes in your Visual Basic custom programs. Our free sample code converts your input data into the equivalent Code 39 bar code.

Code 39 is unique among barcodes because all you need to do is add an asterisk before and after you input string and format it one of our fonts. This is because aterisk (*) is the start and stop bar. For example, *SAMPLE* scans as "SAMPLE". Without the asterisks, your barcode won’t scan.

barcodeString = "*" + yourInputString + "*"

Changing the font alone won’t work. It won’t be a scannable symbol because it won’t have the start and stops bars nor the check digit. That’s what the functions do.

User Defined Functions for Visual Basic:

Some find our Visual Basic functions a good reference point when writing their own code. You know they work before you introduce your own bugs. <grin>

We strongly recommend using the above sample files to get started. Suggestions and feedback are heartily encourage.

We accept PayPal, Visa, American Express, MasterCard and Discover.