Sorry, it's a proprietary piece of software that I have had to sign an NDA in order to get, so can't send it to you. Unfortunately the vendors don't know anything about VFP so I'm stuck between a rock and a hard place.
>From where I could download this object to see it?
>Or can you send it to me?
>
>>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,