Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with MSWINSCK.OCX WinSock control
Message
From
11/08/2000 16:29:38
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00402471
Message ID:
00404140
Views:
12
Hi Don,

Glad to hear you got it resolved.

>ThisForm.olecontrol1.RemoteHost = "192.0.0.50"
>ThisForm.olecontrol1.Remoteport = 1070
>ThisForm.olecontorl1.OBJECT.Connect()

FWIW, I always use the .Object qualifier when working with ActiveX/OLE objects. It helps you later decifer if the PEM belongs to the ActiveX/OLE object or the OLE Container. And as you noticed, sometimes VFP has to have it to function properly.

For Example,
ThisForm.olecontrol1.Object.RemoteHost = "192.0.0.50"
ThisForm.olecontrol1.Object.Remoteport = 1070
ThisForm.olecontorl1.Object.Connect()

Jon
Previous
Reply
Map
View

Click here to load this message in the networking platform