>I do have a DLL file though. But when using Createobject(), I would not know where to define the location and name of the dll file.
>
>lo = CREATEOBJECT("OMRProcessor")
>lo = CREATEOBJECT("OMRProcessor","C:\Program Files\Pegasus Imaging\FormFix\V3.0\Components\ActiveX-COM\PegasusImaging.ActiveX.FormFix3.dll")
>
>AS expected both give the error "Class definition OMRProcessor not found".
It should be something like
createobject("OMRProcessor.OMRProcessor") or first it should be the name of your OCX. A bit hard to figure this out.
If it's not broken, fix it until it is.
My Blog