General information
Category:
ActiveX controls
>>>Do you mean pass an instance of the class as a parameter to a VPF program?
>>>(passing the object as parameter)
>Yes, I am
>
>>>If the VB class is already on a COM ActiveX DLL, VFP can use it with automation.
>
>The VB class is in COM DLL. However, that is just a "base class" without any code. And VB Class will inherit the interface of "base class".
>
>Any idea?
>
>Thank you
Well, you got me there. From your reply I understand you want to subclass an abstract class (interface only) that you have defined in a VB COM DLL.
Here you have basically created a COM class. But COM does not support that kind of inheritance, and my gut feeling tells me you can't do this. But then again, VFP is known to have the ability to sub-class ActiveX controls so my answer is I really don't know.
My question would be, why don't you define this class in VFP code? You can still expose it by creating a VFP COM DLL.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only