Using in MS Visual Basic

 

 

This example illustrates how to use BarCodeWiz ActiveX Control in Microsoft Visual Basic 6.

 

In order to insert BarCodeWiz ActiveX into your project, go to Project->Components...

VB-menu-bar

 

Select the appropriate Type Library, and click OK.

This procedure is similar in other programs in Microsoft Office.

VB-PickLibrary

 

BarCodeWiz icon now appears in the toolbox.

In order to insert BarCodeWiz onto your Form, simply drag the red icon onto it.

VBToolbar

 

The following is the Visual Basic code needed to send a bar code image to your printer. It will print the bar code in the top left position of your paper (0,0).

VB-printCode

 

See our Visual Basic sample application for a complete example of BarCodeWiz ActiveX in action.