Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Translation from VB to VFP
Message
From
27/10/2005 12:04:12
 
 
To
27/10/2005 11:23:57
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01062354
Message ID:
01062662
Views:
12
It sounds like you have VFP7 or newer, why don't you check the Tools->Object browser->COM libraries?

If you can find it you should be able to identify the callable classes.

>Hey Borislav,
>
>I'm still having some problems! :(
>
>If I do
>
>loNetrics = createobject("netrics.netrics")
>
>I can then get the intellisense working when I type loNetrics. in the command window, but I get an error when trying to execute the command:
>
>OLE error code 0x8002801d: Library not registered.
>
>Stranger still, if I create a PRG and declare this:
>
>LOCAL loNetrics as
>
>I get intellisense showing NetricsLib in the list!
>
>Now I'm completely confused.
>
>Thanks for any help you (or anyone else) can offer.
>
>
>>>Found the Netrics keys in the registry (using Regedt32, not regsvr32 :)).
>>>
>>>What do you mean by "check the whole key"? Do you mean the CLSID? What do I do with it?
>>>
>>>Just in case this makes any difference, the com objects are supposed tobe in a DLL, which is what was registered on the PC.
>>>
>>>Thanks.
>>>
>>>>OK,
>>>>Open registry with regsvr32. Open HKEY_CLASSES_ROOT and search for SearchOpts. If you found it check whole key.
>>
>>
>>No, not CLSID. I mean the Text in the Node of the treeview that is above CLSID node :-)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform