using text box to show progress

A

Arvid

Hi,

I have a simple program that calculates invoices. The actual calculation
happens in a web service (WS in the code).
Since the web service takes some time, I just wanted to put a text in a text
box (resultaat in code) when it started (first line of code) then if ok run
the webservice and when it has finished another message would be put in the
text box.

But only when everything has finished the text box its text changed, so the
first line of code has no effect...

How can I solve this? (code is below)


resultaat.Text = "De facturatie is bezig!"
If ValidatieOK() Then
resultaat.Text = WS.START(Maand.Text, Stelsel.Text)
Else
resultaat.Text = "De facturatie is NIET gebeurd!"
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top