Registering the control

Before an Active-X component may be used within a particular Windows installation it must be registered with the Windows System Registry. The Setup program that installs the product on your system provides automatic one-time registration. However, if you use the component on another system registration may NOT be automatic. Many container applications (Visual Basic, MS Office, etc.) offer facilities to register components by displaying a dialog and browsing for the component's file - axbarcode.ocx. As a last resort, the component may be registered manually be executing the following commands from within a command prompt:

To register the component

C:\path\regsvr32.exe C:\path\AXBARCODE.OCX.

Similarly the component may be un-registered using:

C:\path\regsvr32.exe C:\path\AXBARCODE.OCX -u.

If the component is moved or upgraded ir must be re-registered.

Once registered the component may be used within Visual Basic 6 (and other environments). The Active Barcode Component may be included on Visual Basic's Toolbar by checking the

dLSoft 1D Barcode control

entry in the Custom Controls dialog accessible on the Tools menu. The OCX then appears as an icon on the toolbar.

 

More:

Using Active Barcode Components in VB and .NET