Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Winsock
Message
De
25/06/2002 03:26:49
 
 
À
24/06/2002 14:08:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00671654
Message ID:
00671911
Vues:
22
Claudio,

The code is very simple :

PROCEDURE execute()
PARAMETERS auPar1

LOCAL loTel

loTel=NEWOBJECT("MsWinsock.Winsock.1")
loTel.RemoteHost = "Localhost"
loTel.RemotePort = 1979
loTel.Protocol = 1
loTel.Senddata("0"+ALLTRIM(auPar1))

loTel=NULL
ENDPROC

It's on the line with the NEWOBJECT that the ole error occurs.

Guillaume
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform