Wat is multithreading in VB?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
Is it possible to Access BackEnd procedures?
What is the difference between a Sub and a Function?
How many types of API functions are availble in VB?
How can we call Stored procedure of Back End in RDO and ADO ?
how to use telugu language in vb6? any unicode data is available for telugu or not?yes means how to use? my desired output is telugu only? i am doing project like(telugu calendar),my output should be print in telugu only? pls send me the solution with code?
Can We create CGI scripts in VB?
Name and define the logical tiers in a traditional 3-tiered architecture?
What is ado in vb.net?
Scope of API?s can be of different types, what are they Why API functions are Required?
which arguments will be used to run a executable program in shell function ?
What are the types of Instancing property that can be set for a Class in a ActiveX DLL and ActiveX EXE?
what are the Sequence of events when a MDI form open with two child forms closing?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)