Quote Originally Posted by Pino
That is a poor If Statement,

What it should be is,

VB Code:
  1. If user = 'aa' then
  2.    wsckClient.RemoteHost = "192.168.0.2"
  3. ElseIf user = "bb" then
  4.       wsckClient.RemoteHost = "192.168.0.3"
  5. End If

Pino
True!

I code in so many languages that sometimes the code looks correct, and then it takes me forever to figure out what is wrong when there is a problem.