Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement