|
-
March 29th, 2001, 05:24 PM
#1
how to implement multithreading in VB
hi all
can anyone tell me how to implement multithreading in VB.
-venky
-
March 30th, 2001, 10:49 AM
#2
Re: how to implement multithreading in VB
Currently, VB does not support true multi-threading. You will have to wait for VB.Net However, there is a sample on http://www.Planet-Source-Code.com/vb that treats this symptom.
Go there and search on "Weidmann" (without the quotes of course). One of the hits purportely does multi-threading. It has been given high marks from his peers. "Weidmann" is the Author
John G
-
March 30th, 2001, 11:28 AM
#3
Re: how to implement multithreading in VB
There is another way of implementing multithreading in VB - implement your process that you want multiple threads of as a stand alone EXE.
As every executable resides on it's own thread you then have multi-threading. Interprocess communication can be a chore, but its your judgement call as to whether it's worth doing.
HTH,
Duncan
-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com
-
March 30th, 2001, 12:41 PM
#4
Re: how to implement multithreading in VB
thanx..Its great.
I used the class module for createthread and it worked fine.
The only problem i had faced is when the my function finishes execution it don't know where to go back.
Is this becoz he is creating the thread by passing function address by value not by reference ?
I am doing this in WinNT.
-venky
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
|