Hello, I have several items in a list box and I have the code to make it iterate down. How can I make the program wait till each action is completed before going to the next item?

Whats happening now is it waits till the page loads then just iterates not doing it for the other items.

How can I incorporate Application.DoEvents or make some sort of while loop saying while its on this selected item do this and only this till its done?

This behaviour is usual when multi-threading is done in the code.

Multi-threading happens when using a timer, executing a backgroud worker, starting a thread, etc.

The best way we can tray to help you is if you post your code here and some one can try to 'see' where the problem is.

Hope this helps