Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding an instance of an ActiveX class at run-time
Message
From
01/11/2007 12:03:53
 
 
To
01/11/2007 12:00:47
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01265383
Message ID:
01265755
Views:
17
Ok, so I'm adding the olecontrol class that contains the OleClass property as a subclass? Just trying to get my head around the logic.

Actually, there was a bug in the change I posted earlier < s >. Should be:
THIS.oSock = CREATEOBJECT("Myosock")
Actually, the way that I do this is to use the Visual Class Designer as I told you earlier. I create a custom class based on the OLE Container control and insert the winsock control. Takes about 3 seconds < s >. Then instantiate my custom class at runtime.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform