Wat is multithreading in VB?

Answers were Sorted based on User's Feedback



Wat is multithreading in VB?..

Answer / seshu

In easiest way...

In DOS commands can pass one after one...coz its a single
thread, once process completes second one can be perfomed...

In windows can be more than one thread, e.g: printing,
simaltaneously can work on word, and can hear songs. etc.

VB also supports multhithreading(multiple processes) can be
done.

Is This Answer Correct ?    3 Yes 2 No

Wat is multithreading in VB?..

Answer / cp

VB implements multithreading in COM.
When component with time consuming code executes it hangs
client for a period. Through Multithreading COM can execute
simultaniously with Client.

Is This Answer Correct ?    2 Yes 2 No

Wat is multithreading in VB?..

Answer / 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

Wat is multithreading in VB?..

Answer / ravi kumar noneria

What happens if we need our Process to do more than 1
thing, like execute query and write to a database at the
same time. Luckily we can split a Process to share the time
slice allocated to it. This is done by spawning new threads
in the current Process. These extra threads ares sometimes
called worker threads. These worker threads share the
processes memory space that is isolated from all other
Processes on the system.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Visual Basic Interview Questions

How do I access C style strings?

0 Answers  


What are the important components of OLEDB?

0 Answers   Tricom,


How to use advanced data-bound controls.

0 Answers  


what are the Types of cursors in RDO?

0 Answers  


What is the tool used to configure the port range and protocols for DCOM communications?

1 Answers   IBM,






It is possible to access Text (x.txt) files? Explain.

1 Answers   TCS,


Q1. A. Discuss the various types of variables. B. How to control the file? Q2. A. How the image application? B. Write short notes on trees structures work. Q3. A. How to load and unload child forms. B. When should we use recursive programming Q4. A. Write short notes on "The ole control's shortcut menu" B. How to test the AX stat class Q5. A. How to use advanced data-bound controls. B. Write notes on manipulating the recordset object Q6. A. What is script control? B. How to down load image properties. C. What is meant by building a recordset.

1 Answers   Infotech,


What are the scope of the class?

0 Answers  


Is VB comes under Object Oriented Programming ?

1 Answers  


Hai! , i make a project for browsing center using vb6.0 , at the time of running below mentioned error is occured so please help me for solve this problem. Error : Can't find project or library

4 Answers   Wipro,


what is the Difference between Query unload and unload in form?

1 Answers  


What was introduced to Visual Basic to allow the use of Callback Functions?

1 Answers  


Categories