G
Guest
Hi All,
I have created this UI program, i call couple of database procedures and
update process steps to list box.
Program runs fine, but I have problem. What happens is I dont see the update
as it happens, I see all of them after completing all the procedure run.
for example:
UpdateList("Step one about to start");
try{
run proc();
UpdateList("Step one completed");
}catch(Exception ex){
UpdateList("error running proc");
}
UpdateList("Step two about to start");
try{
run proc2();
UpdateList("Step two completed");
}catch(Exception ex){
UpdateList("error running proc2");
}
in updateList I show the status log.
In other language (powerbuilder), i call yield() function to update the ui
and free the message queue.
Any help is appreciated.
Thanks,
I have created this UI program, i call couple of database procedures and
update process steps to list box.
Program runs fine, but I have problem. What happens is I dont see the update
as it happens, I see all of them after completing all the procedure run.
for example:
UpdateList("Step one about to start");
try{
run proc();
UpdateList("Step one completed");
}catch(Exception ex){
UpdateList("error running proc");
}
UpdateList("Step two about to start");
try{
run proc2();
UpdateList("Step two completed");
}catch(Exception ex){
UpdateList("error running proc2");
}
in updateList I show the status log.
In other language (powerbuilder), i call yield() function to update the ui
and free the message queue.
Any help is appreciated.
Thanks,