Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveX Objects
Message
From
28/01/2008 15:22:33
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01286285
Message ID:
01286322
Views:
34
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform