>>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.
Thanks, you've got me onto the right track. I searched the registry for "PegasusImagingActiveXFormFix3" and found all the member objects, with strange names:
lo = CREATEOBJECT("PegasusImagingActiveXFormFix3.OMRProc.1")
Christian Isberner
Software Consultant