Hi,
I'm developping an application that reads emails from a server.
I have set the interval of the timer1 to 1000 *30 (i.e. 30 seconds).
In the timer1_timer () subroutine I called another subroutine which makes a connection
with the server using
Winsock1.RemoteHost "hostname"
Winsock1.RemotePort "hosr port"
Winsock1.Connect
and then reads the emails etc.
then dissconnects from the server, and after 30 seconds or whatever repeats the cycle:
connecting to the server
reading emails
dissconnecting from the server.
The problem is that the timer run through the cycle mentioned above only once,
after 30 seconds it does not do anything.
Please help me.
Thanks a lot, appreciate your help
Aiman