Hi tek-tip pals,
Is there any way for VB to execute code line-by-line like in the compiler languages? I mean,
if, for example I have a form with a command button and a label
then I apply this code to the command_click function:
For t = 0 To 20000
myLabel.Caption=Cstr(t)
Next t
The only time the label will display anything is when the entire
process is finished. How can I make it execute each line completely
before it executes another because in an application, the user needs
to know what's happening.
Thanks.
Is there any way for VB to execute code line-by-line like in the compiler languages? I mean,
if, for example I have a form with a command button and a label
then I apply this code to the command_click function:
For t = 0 To 20000
myLabel.Caption=Cstr(t)
Next t
The only time the label will display anything is when the entire
process is finished. How can I make it execute each line completely
before it executes another because in an application, the user needs
to know what's happening.
Thanks.