Question Locked

Multi tasking with VB6

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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.

2 replies

by tony hopkinson

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.

HtHs

This discussion is closed to new replies.