>It's a very simple dll made in vb. When trying to use it with vfp, error message are coming saying that my class cannot be found
You did not properly register the VB component on the VFP system, or have not given the correct ProgID or CLSID for the object when instantiating it under VFP.