-
Does anyone Know how to Create and Manipulate Threads in VB, I've Heard that the IDE Get's a bit Arsey about doing it but creating some multithreaded apps and usercontrols would be really usefull.
I've Just about get the hang of event,mutexes and thread priorities but there's not a lot you can do with them if you can only run one thread.
If anyone's tried any thread manipulation in VB Could you please give me some hints on where to start.
Thanks in advance.
-
Multithreading
Hi,
Yes, multithreading is possible in VB. But
1)you will have to use API functions. functions are CreateThread, ResumeThread, SetThreadPriority etc.etc. But you have to be very careful while using these functions. I had tried these working fine. but not that much reliable.
2) wait for VB7 in which you can directly say.
Dim MyThread as New Thread.
3) Use Timer control or SetTimer and KillTimer API Functions.
Vijay
-
Multithreading
Hi,
Yes, multithreading is possible in VB. But
1)you will have to use API functions. functions are CreateThread, ResumeThread, SetThreadPriority etc.etc. But you have to be very careful while using these functions. I had tried these working fine. but not that much reliable.
2) wait for VB7 in which you can directly say.
Dim MyThread as New Thread.
3) Use Timer control or SetTimer and KillTimer API Functions.
Vijay