Using Asynchronous GetXmlHttpObject() vs threads

aerohost

Member
Licensed User
Hi Andrew, one final issue on this, if you will. I need to check this URL every 5 seconds or so, looking for a change, and I'm having trouble implementing a timer the usual way to do this.

Are there any special considerations that need to be observed when using timers with threads?

I'm assuming the http request only happens once in the code above that we discussed, so I created a sub to repeat it:

Sub timerHTTP_Tick
Thread.Start("ThreadCode")
End Sub

It only seems to fire once, then end up in the error routine.

Tks, Adrian
 
Top