is it possible to have multi-threading in vb

Is it possible to have multi threading in VB
can u plz suggest an example....

Regards
AmitabhAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
CJ_SCommented:
VB itself has no multithreading. However you can use the Win32 API's to create a new thread and use it. I do not recommend using it though.

Look for CreateThread

Public Declare Function CreateThread Lib "kernel32" Alias "CreateThread" (lpThreadAttributes As SECURITY_ATTRIBUTES, ByVal dwStackSize As Long, lpStartAddress As Long, lpParameter As Any, ByVal dwCreationFlags As Long, lpThreadId As Long) As Long


CJ
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
Éric MoreauSenior .Net ConsultantCommented:
VB.Net is supporting multi threading natively.
0
 
AmitabhAuthor Commented:
thanks and sorry for having taken lot of time. i was held up with some office work.

regards,
A.Pandey
0
 
BerCommented:
Cheers...
Ber...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.