Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Winsock
Message
From
25/06/2002 03:26:49
 
 
To
24/06/2002 14:08:27
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00671654
Message ID:
00671911
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform