VB Out of Process Server and Blocking

pts.
Tags:
Visual Basic
I have created a VB ActiveX.exe component, and a client that creates an object from a class in the component. The component down loads a table from a database on the internet, and this takes a couple minutes. Because the ActiveX component runs its own process, the client is not blocked when it makes calls to a method in the component. That's the way it is suppose to work, according to the MS documentation. However, I have not been able to get it to work. In my case, the client is blocked until the server returns the table. Can anyone make any suggestions what could be wrong? Thanks

Answer Wiki

Thanks. We'll let you know when a new response is added.

How can you tell that the client is blocked?

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Krisreddy
    Make the method (which gets the data) private and add a Public Method which sets a timer (100 milliseconds). In the timer event call you private method. That should take care. There is an Excellent book on this. "Developing COM/ActiveX Components with VB6" by Dan Appleman.
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following