|
-
Mar 18th, 2000, 01:46 AM
#1
Thread Starter
Frenzied Member
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.
-
Mar 19th, 2000, 10:25 PM
#2
New Member
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
-
Mar 19th, 2000, 10:25 PM
#3
New Member
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
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
|