1. Right click command prompt and run command prompt as administrator.
Type in the following commands to register cruflbcs.dll
cd "C:\Program Files (x86)\Common Files\Barcodesoft\FontUtil"
regsvr32.exe cruflbcs.dll
To register 64-bit DLL, please type in the following commands
cd "C:\Program Files (x86)\Common Files\Barcodesoft\FontUtil"
%systemroot%\System32\regsvr32.exe cruflbcs_x64.dll
If you see the following Window pop up, your registration was successful.
2. Open your crystal report. Right click Formula Fields, choose "New..." from the context menu.
Type in "code128" in the Name textbox, then click "Use Editor".
3. Double click "BCSLinearcode128" function from Visual Basic UFLs list as shown.
4. Then type in the database field as parameter for code128 formula. And click "Save" button to save code128 formula field.
5. Drag and drop the code128 formula field in your crystal report design view.
6. Right click code128 formula field and choose "Format Field" from context menu. Then choose "code128mHr" font typeface.
Click OK Button. You will see code128 barcode in your crystal report.