Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mswinsck.ocx don't work (for me).
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Mswinsck.ocx don't work (for me).
Divers
Thread ID:
00199637
Message ID:
00199637
Vues:
40
I try to use this control in VFP5 identical to example in vbconusingwinsockcontrol.htm without success.
Two forms:
first - frmServer, containing OCX tcpServer
- init method of frmServer:
thisform.tcpServer.localport=1001
thisform.tcpServer.listen()
- ConnectionRequest method of tcpServer:
wait "hello" wind

second - frmClient, containing OCX tcpClient, commandbutton Connect
- init method of frmClient:
thisform.tcpClient.remotehost="papo"
thisform.tcpClient.remoteport=1001
- click method of Connect:
thisform.tcpClient.connect()

After clicking Connect my computer don't say hello ...
I have good experiences with mscomm32.ocx, so (in my children's naivity) I introdused, it will be the same problem.

Is somewhere something, what I forgot?
(I visit msdn, mabry, socketwrench, download, winfiles)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform