Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing Custom ActiveX DLL Events
Message
De
18/12/1997 00:43:09
 
 
À
18/12/1997 00:37:27
Jay Shepherd
Construction DataFax, Inc.
Montevallo, Alabama, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00066798
Message ID:
00066821
Vues:
36
>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
Fil
Voir

Click here to load this message in the networking platform