Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event and Method with same name??
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00304299
Message ID:
00304336
Views:
27
>Hello. I have an ActiveX control(Winsock control 6.0 from MS) that has both an event and a method by the same name('connect'). This control works great in VB, as VB distinguishes between methods and events(using '.' or '_' to seperate the object from the event/method). Is there any way I can make use of this Winsock control for a client application in VFP? Thanks.

Have you tried .Connect() for the method, vs. .Connect for the property?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform