G
Guest
I have a Winform that instantiates a class and then calls a subroutine in
that class.
This routine is extremely long and database intensive and I am trying to
display its progress by raising an event each time a record is processed.
The Winform is supposed to catch this event and update a progress bar.
Unfortunately nothing is happening. The app appears too busy to repaint.
In general, what are the potential issues here and what would be the best
course of action? (I'm going to try a Me.Refresh call in the event handling
routine. Any potential drawbacks to this, besides performance?)
that class.
This routine is extremely long and database intensive and I am trying to
display its progress by raising an event each time a record is processed.
The Winform is supposed to catch this event and update a progress bar.
Unfortunately nothing is happening. The app appears too busy to repaint.
In general, what are the potential issues here and what would be the best
course of action? (I'm going to try a Me.Refresh call in the event handling
routine. Any potential drawbacks to this, besides performance?)