Updating control contents in real time

euromax

Member
Joined
Apr 19, 2009
Messages
7
Location
Mauritius
Programming Experience
Beginner

Hi, I started programming in VB2008 couple of weeks ago (I'm using the express version) and I'm getting stumped by this ridiculously simple problem.:confused:

I am trying to retrieve varying parameters from an external application and display their values in real time on a windows form control e.g. a label or text box. I already know what class and methods to reference for that, however I can only display instantaneous values (unless I use a .click event handler, but thats foolish I want them displayed without my intervention)

I tried writing a loop in form load event handler but that prevents the form from loading. I also tried a loop in another module but that doesn't work either.
 
I was trying to access the methods of a client/server application coded in VB6 (it's an 8085 microprocessor simulator).
Thanks for the tip: a thread was what was required. I managed to solve this problem by making asynchronous calls to a BackgroundWorker control:)
 
Back
Top