General information
Category:
ActiveX controls in VFP
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
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