>I'm running this routine in a loop, for my test it's looping 4 times but it prints only 2 times. If I step thru it, it prints all 4 times. Do I need to put some time of timout somewhere?
>
>Thanks.
You may try to put sleep for some time between the attempts. I remember I saw on a Russian website Vladimir Maksimov having similar problems, but I'm not sure I would be able to find that thread or a solution.
If it's not broken, fix it until it is.
My Blog