Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Wat is multithreading in VB?

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


Please Help Members By Posting Answers For Below Questions

What is the-use of property page Wizard in ActiveX Control?

2010


How would you attach pictures in column headers of List View Control?

2093


Maximum Control Names length?

2391


Through which protocol OLEDB components are interfaced?

2177


How would you add column headers in listview control?

2121


what are the Parts of ODBC?

1853


How many objects resides in ADO ?

1959


Can you create a tabletype of recordset in Jet - connected ODBC dbengine?

2072


Can any one please suggest which institute is providing Advance Excel & VBA Macros in Excel training in Hyderabad.

2158


In which areas the Error occurs?

1928


what is the Difference between Tabletype and Snapshot?

2086


How many File System Controls are there Explain?

2021


What is DBSqlPassThrough?

3230


How to use advanced data-bound controls.

1154


What is ODBC Direct and Microsoft Jet Database Engine ?

2247