|
Using ABarcode ActiveX in Windows Forms with Visual Studio .NET
This example assumes you already opened a new project and gone through the
preliminary steps.
Now add a new form to your project and:
- Drop the fields you want to show in the form, from the dataset created in the preliminary steps.

- Drop the ABarcodeX.Barcode control from the toolbox to the form.
Check the preliminary steps if you can not find the
ABarcodeX.Barcode control in your Toolbox.

- Link the ValueToEncode property (expand DataBindings) of the Barcode control
to the ProductId colum.

- Set the CtlAutosize property to True.
- You may also open the ActiveX Custom Properties page through the
Activex-Properties option from the context menu, the Tasks icon in the control,
or the link at the bottom of the Visual Studio properties page.

Keep in mind that the Value property in this page only has effect when the control is not bind to a datasource,
as well as in design mode.

- Run the application and you will see how the barcode image changes for each data record to show the bar coded Product ID.

Using ABarcode ActiveX in Crystal Reports
Using ABarcode ActiveX in RDLC reports
Back to Barcode ActiveX control for .NET developers
|