You chap have been very helpfull, and I have yet another request.

Oh how I wish I was good at VB. lol

Right I am using Winsock control to connect to an IP interface. Then sending a data string to that interface to login.

Now IF I was not able to connect to that IP interface, I get an error, what I would like to do, is control this. So I would like to retry the connection for say 3mins, then if it still cant connect after that, display a Error Box.

At the moment, on my From Load all I do is.

sock1.Connect

Cheers,
Will