telnet client in access form

C

cyb3rwolf

Hello.
I am trying to creat a form for work that involves connecting to a telnet
server to automatically send and retreive specified data. I am new to VB and
I am not sure why my code is not working... anybody help me out? Here is the
code that seems to be generating the error:
Private Sub Form_Open(Cancel As Integer)
telnet.RemoteHost = "HOST"
telnet.RemotePort = 23
End Sub

(obviously i have replaced removed the host name since i am posting this)
 
Top