i want to deploy an application that contain a crystal report in this report i include a 2dimentional barcode and to do that i used a morovia 2d datamatrix barcode, first i encode the data by an included dll from the morovia fontware then write the encoded string with the included 2d barcode font.

okey after that when i tried to make a setup application for this project i alway get an error message at the line of the encoding function definition and the code is like this

first i import the dll

Imports MrvDMFEAX3Lib

and the def is like this

Dim ecoder As New MrvDMFEAX3Lib.DataMatrixFontEncoderClass

please help