Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Translation from VB to VFP
Message
From
26/10/2005 15:08:19
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01062354
Message ID:
01062361
Views:
13
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,
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform