Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with MSWINSCK.OCX WinSock control
Message
De
11/08/2000 16:29:38
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00402471
Message ID:
00404140
Vues:
13
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform