-
Hi everyone,
I'm trying to make an application that will be able to perform few tasks in the same time. To keep it simple, let's say filling 2 listboxes with 10000 items each. Since filling them will take time, I'd like them bote to be filled the same time. I tried using timers with the DoEvents command which each one called a procedure for filling one listbox. But, when the second timer is activated, filling of the first listbox is paused until filling of the second listbox is completed, and then filling of the first one is resumed.
Anyway to make it work ? Any other ideas ?
Thanks
Ben
-
Why don't you fill them in the same procedure? I see multithreading can be done under vb7 but i'm not sure if it can be done with timer events, possibly if one of them triggers the other in some way
-
I was facing multithread problem in VB before, What I did is to use ActiveX exe to fire another process to perform multithread. This might be overkilling but it worked fine for me.