Answer Posted / joby cheriyan
Multi threading is one method for using the maximum
resource allocated for an application by the OS.
For example try a VB6 code.
Add these Controls to a form List box and command button.
Private Sub Command1_Click()
For i = 1 To 100000
List1.AddItem i
Next i
End Sub
This code will hangs up your form.
Think that you have three list box and three command button
for adding into three list boxes same time. U won’t be even
able to click the button until one task completes. If you
try with DOEVENTS function also not a proper solution for
this problem. Now you will try to solve this issue with
multithread. In VB6 you need API for creating threads.
Actually VB6 has lot of crashes when we use multithread.
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
___ property is used to change to ___ value to access a identity column'in datacontrols.
How would you attach an ActiveX control in Your Application?
It possible to call OLEDB?s Features directly in VB without using any control?
Which property of textbox cannot be changed at runtime. What is the max size of textbox?
How would you find out the value property in Slider Bar Control?
Explain about arrays?
What is form in visual basic?
How would you add elements in TreevieW Control.
What is ado in vb.net?
What is ActiveX Dll and ActiveX Exe?
Is it possible to Manipulate data through flexgrid? Explain.
What is connection object in vb net?
How do I mimic a toggle button?
Explain the usage of Web Browser Control?
Can you create a tabletype of recordset in Jet - connected ODBC dbengine?