Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveX Objects
Message
 
 
To
28/01/2008 15:08:04
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:
01286309
Views:
28
This message has been marked as the solution to the initial question of the thread.
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform