Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing Custom ActiveX DLL Events
Message
From
18/12/1997 00:43:09
 
 
To
18/12/1997 00:37:27
Jay Shepherd
Construction DataFax, Inc.
Montevallo, Alabama, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00066798
Message ID:
00066821
Views:
39
>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
Map
View

Click here to load this message in the networking platform