When i do:
oWinsock = CREATEOBJECT("MSWinsock.Winsock.1"
oWinsock.Protocol = 0
oWinsock.RemoteHost = "smtpserver"
oWinsock.RemotePort = 25
oWinsock.Connect
it connects withouth a problem.
and the owinsock.state is 7
but when i use the ActiveX component
and do this
with thisform
.owinsock.protocol = 0
.owinsock.remotehost = "smtpserver"
.owinsock.remoteport = 25
.owinsock.connect
endwith
it doesnt connect i still get thisform.owinsock.state is 0
anyone any ideas?
oWinsock = CREATEOBJECT("MSWinsock.Winsock.1"
oWinsock.Protocol = 0
oWinsock.RemoteHost = "smtpserver"
oWinsock.RemotePort = 25
oWinsock.Connect
it connects withouth a problem.
and the owinsock.state is 7
but when i use the ActiveX component
and do this
with thisform
.owinsock.protocol = 0
.owinsock.remotehost = "smtpserver"
.owinsock.remoteport = 25
.owinsock.connect
endwith
it doesnt connect i still get thisform.owinsock.state is 0
anyone any ideas?