Advertisement

07.17.2008 at 03:26PM PDT, ID: 23575164
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.9

How to best use MultiThreading?

Asked by MiSheps in Visual Basic Programming

Tags:

Greetings Experts,

Ok...  here is the problem that I'm having:

I have an application that runs in a continuous loop in conjunction with a second application. The two sister apps run side by side all day long, feeding information back and forth to eachother through DDE. The way that the loop is currently set up is a simple, send information, wait for a response, and for new information to continue, as such...

1) App A, sends a "green light" to App B using DDE communication
2) App B, then receives the "Green Light" message, and processes part a loop 1 time.
3) App B, sets itself to a "red light" (stop) and prepares a message for App A to grab indicating that it has stopped.
4) App A, then processes through a loop of proceedures 1 time, and then
5) App A, stops, and sends a message (Green light) back to App B so that App B can loop again while App A waits again.

Etc, etc, etc.

That part seems to work well... but here is the problem:

While App A is waiting for App B to finish, you can't do anything in App A..... But... I need to be able to. Specifically in App A, I need to be able to click on a hot spot, which then activates and unhides (shows) a sub form of App A, which I need to be able to navigate withouth delay.

So, what I want, is while App A is waiting for App B to send back a message that it is done with its loop, that App A is still able to function,... OR, at least that the sub form of App A is able to function, even though the main part of App A is still waiting for the message back from App B before it continues with its code.

Currently, when you click on the hotspot, it does nothing until App A is in its loop process. And then as soon as App A stops its loop, and App B starts its loop, the sub form of app A is dead in the water as well, until app B is done processing its loop and given control back to App A.

One thing to keep in mind, the time it takes for App A to loop through its processes is only about 2 seconds, as well as App B... (which is what makes it so annoying to keep having to wait for it to get focus back....

Any ideas, or suggestions would be very appreciated!

Thanks!
Start Free Trial
 
 
[+][-]07.17.2008 at 04:19PM PDT, ID: 22031261

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 09:33PM PDT, ID: 22032906

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 11:02PM PDT, ID: 22033162

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 07:30AM PDT, ID: 22036166

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 08:59AM PDT, ID: 22037186

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.18.2008 at 03:53PM PDT, ID: 22040500

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.29.2008 at 10:48AM PDT, ID: 22113800

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Visual Basic Programming
Tags: vb6
Sign Up Now!
Solution Provided By: egl1044
Participating Experts: 2
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628