>>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?
I tried calling "thisform.olecontrol1.connect()" from a command button, and it just fires off the event(not a property). If it was a Method and Property of the same name, I think I'd have a chance.. :(
Derek J. Kalweit
Software Engineer
Microworks POS Solutions, Inc.