Solved

is it possible to have multi-threading in vb

Posted on 2002-06-28
6
207 Views
Last Modified: 2010-05-02
Is it possible to have multi threading in VB
can u plz suggest an example....

Regards
0
Comment
Question by:Amitabh
6 Comments
 
LVL 22

Expert Comment

by:CJ_S
ID: 7115932
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
 
LVL 22

Expert Comment

by:CJ_S
ID: 7115934
0
 
LVL 2

Accepted Solution

by:
Ber earned 100 total points
ID: 7116005
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7116023
VB.Net is supporting multi threading natively.
0
 

Author Comment

by:Amitabh
ID: 7158701
thanks and sorry for having taken lot of time. i was held up with some office work.

regards,
A.Pandey
0
 
LVL 2

Expert Comment

by:Ber
ID: 7160682
Cheers...
Ber...
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question