Solved

is it possible to have multi-threading in vb

Posted on 2002-06-28
6
204 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 69

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Updates not working for MS Windows 7 12 152
Best way to parse out a json string in VB6? 10 111
using web browser with BING 40 110
Access Object Property from VBA Module in Excel 2010 2 27
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…

910 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now