Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Having a problem with CREATEOBJECTEX()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00903360
Message ID:
00903363
Views:
18
Try localhost as computer name

HTH


>I have an ocx that is registered (or at least shows up in my registry) on my computer.
>
>I can do the following:
>
>
loObj = createobject("PCL2PDFDEVLIB.pcl2pdfDevLibCtrl.1")
>
>and that works fine. The "PCL2PDFDEVLIB.pcl2pdfDevLibCtrl.1" was taken straight out of the ProgID value in the registry for the CLSID of {708FC612-F129-11D3-844D-0080C88C9740}.
>
>However, if I try doing the following:
>
>
loObj = createobjectex("{708FC612-F129-11D3-844D-0080C88C9740}","192.168.1.1")
>
>(where 192.168.1.1 is my ip address), I get the error:
>
>OLE error code 0x80040154: Class not registered
>
>Any ideas why I can instantiate the object based on it's PROGID but not it's CLSID. I do realize there is a difference in the commands I'm using so it's not entirely apples to apples here; but, doesn't the fact that I can instantiate the object from the PROGID in the registry demonstrate that the ocx is indeed registered?
>
>Thanks for your help!
>
>Rodd
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Reply
Map
View

Click here to load this message in the networking platform