Multi tasking with VB6

By f.bouteille ·
I have written an VB6 application to collect periodically data from the serial port. With Do.. loop and TimegetTime I have built my own accurate timer. The standard Timer control is not accurate enough. The problem is when I move the display window, the data displays freezes and the data sampling stops. I'd like to know how both porcesses (moving the window and acquiring data) can be executed simultaneously.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

VB6 does not do threading

by Tony Hopkinson In reply to Multi tasking with VB6

Your way forward aside from choosing a better design environment are.
Have two exes, or one and a COM component.
Either way have one application (perhaps even a service), do nothing but collect and store the data, then have another to diplay, collate, interrogate it.


Related Discussions

Related Forums