Hi Borislav,
Thanks for confirming. I am pretty sure it is registered because it works in VB on the same PC.
>Yes, you use the right syntax.
>Are you sure COM object is registered?
>
>
>>Hi,
>>
>>I am trying to use a COM object from VFP. I have some sample VB code which works:
>>
>>
>> Dim mobjSearchOpts As NETRICSLib.SearchOpts
>> Set mobjSearchOpts = New NETRICSLib.SearchOpts
>>
>>
>>and I have tried the following in VFP:
>>
>>
>>m.loSearchOpts = CREATEOBJECT("NETRICSLib.SearchOpts")
>>
>>
>>but get this error:
>>
>>"Class definition NETRICSLib.SearchOpts is not found."
>>
>>Am I using the correct syntax?
>>
>>thanks,