?
Solved

VB Multithreading

Posted on 2003-03-06
4
Medium Priority
?
216 Views
Last Modified: 2013-12-25
Multithreading in VB cannot be done without including
kernel32.dll .
Why SO?
0
Comment
Question by:yogi680
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 7

Accepted Solution

by:
Smallint earned 150 total points
ID: 8078538

VB is not a language thought for multithreading. To do that in VB you must use API calls in kernel32 to create threads.

0
 
LVL 7

Expert Comment

by:fluglash
ID: 8078983
Because creating threads is system task, means low level and VB is high-level language. Even using API you not always will get needed result...
0
 
LVL 6

Expert Comment

by:marconovaro
ID: 8079574

Pay attention in creating threads in VB: it can be dangerous, especially when debugging in the IDE...

I usually prefer, if I need threads, to create a multithreaded ActiveX EXE. This is stable and works fine.

Hope this helps
M
0
 
LVL 2

Expert Comment

by:cerebralpc
ID: 9026019
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept Smallint   comment as answer.

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
cerebralPC
EE Cleanup Volunteer
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses
Course of the Month15 days, 3 hours left to enroll

771 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