|
-
Jun 5th, 2000, 08:41 PM
#1
Thread Starter
New Member
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
-
Jun 5th, 2000, 09:56 PM
#2
transcendental analytic
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
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jun 5th, 2000, 10:41 PM
#3
Addicted Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|