... with MS Word
Choose 'Insert object' command
from the 'insert' menu in MS Word. Click on BarcodeX
object and click OK. BarcodeX object appears in your
document. Double-click on it. It shows properties dialog
box in which you can set barcode type, caption, font,
colors, etc.
Check out a MS Word demo you get with BarcodeX trial.
Notice: By default Word creates all graphics with 'over
the text' option. To position a barcode inside the table
or the label you have to disable this option.
... with MS Access
Use BarcodeX in your forms and
reports. It is data bindable so you can set 'Control
Source' property to a field in your table. Check out a MS
Access demo you get with BarcodeX trial.
Simply select "Insert
ActiveX-Control". From the list select the BarcodeX
control. Now click with the right mouse button on the
control and select the "Property" menu. In the
"Control Source" cell open the combo box. You
can now see all data fields that can be bound to the
control. Select the desired data fieldname and that is it.
To test the result, select form-view and scroll through
the records: You can see that the control changes every
time the record set changes.
... with MS Visual Basic
To insert BarcodeX into your VB
project, right-click on controls toolbar and choose
'Components...'. Check BarcodeX control. An icon showing
barcode in added to your control toolbar. Now you can
insert it into your form as any other control.
Visual Basic developers will find very useable a Picture
property of BarcodeX. It returns a bitmap representation
of barcode. Size of bitmap in pixels is same as size of
BarcodeX control on your form. To improve readability of
barcode, you should try to make BarcodeX control bigger.
E.g.;
SavePicture Barcode1.Picture,'c:\barcode.bmp'
To print barcodes from Visual
Basic use PaintAt method:
Printer.NewPage
BarcodeX1.PaintAt Printer.hDC, 300, 300, 1800, 1300
Printer.EndDoc
.. with ASP
This code will send barcode image
as image/png stream directly from memory.
<%
dim bc
set
bc=Server.CreateObject("BarcodeX.CBarcodeX.1")
Response.ContentyType="image/png"
Response.BinaryWrite
bc.GetPNGStream(0,"123123123",1,320,240,0,"Arial",20)
set bc = Nothing
%>