Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Translation from VB to VFP
Message
 
To
26/10/2005 14:53:58
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01062354
Message ID:
01062358
Views:
20
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,
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform