General information
Category:
Coding, syntax & commands
>The help says that I should be able to use add object to include an ActiveX Control. I'm trying to just get this to work with the Winsock control that comes with VFP, VB, etc.
>
>ADD OBJECT Jtest as mswinsock.winsock doesn't seem to work, (I've tried with quotes too)
>
>I can do it from the command window with x=createobject("mswinsock.winsock"), and it works fine, however, I want to place some code inside of an event of that object.
>
>Any ideas?
The whole idea is that you don't need to create an object (which is a class instantiation). You need to create a class. In the class definition you can overwrite the methods of the base control/ActiveXDLL/ActiveX/OCX.
Vlad
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