• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 220
  • Last Modified:

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
0
Amitabh
Asked:
Amitabh
1 Solution
 
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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
É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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now