General information
Category:
ActiveX controls in VFP
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only