Calls to BarCodew create a picture barcode, leaving the image on the Windows clipboard from where it may be pasted into the location required.
Declare Function BarCodew Lib “dlsbar34” (ByVal sIn as String, n as Long) As Long
Where sIn is the barcode data. n is unused in this release and should be set to 0.
The function returns 0 if successful, or an error number that may be passed to ErrorMess() to obtain an error message..
SetBarCdsz() must should be used to specify a barcode size before calling BarCodew().
More: