S
spiazzi
HI,
I have a form with a progress bar a and a label.
I start a thread in form load that update the value
of the progress bar and the label.
For label I have use :
me.invoke(new EventHandler(AdressOf SafeUpdate))
where SafeUpdate is a method of the form that update the
label with a text.
This beacuse update label in a thread causes the application to time wait.
But when I call the form from the main method of my module, the application
stop in the
me.invoke(new EventHandler(AdressOf SafeUpdate)),
and nothings happen.
How can I do?
I have a form with a progress bar a and a label.
I start a thread in form load that update the value
of the progress bar and the label.
For label I have use :
me.invoke(new EventHandler(AdressOf SafeUpdate))
where SafeUpdate is a method of the form that update the
label with a text.
This beacuse update label in a thread causes the application to time wait.
But when I call the form from the main method of my module, the application
stop in the
me.invoke(new EventHandler(AdressOf SafeUpdate)),
and nothings happen.
How can I do?