I am using the VB6 Internet Transfer Control Method OpenURL within a project of mine to lookup data from a legacy system via a HTTP based CLI.
This works fine, but sometimes the requests come too close together causing a runtime error because the previous request is still executing.
I have tried:
URL = "http://10.0.0.23/checkbl.asp?ticket=
" & Ticket & "&pn=" & FNumber
Do While Internet.StillExecuting
OPut = Internet.OpenURL(URL)
But the StillExecuting property often never returns to false, causing the code to get stuck.
How can I fix this, or is there a better approad altogether?