Hi,
This was duscussed last week, below is the code I posted.
Cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
public delegate void ProcessedFileHa ndler( );
Thread workingThread;
private System.Windows. Forms.ProgressB ar progressBar1;
void Done()
{
MessageBox.Show ("Done");
this.Close();
}
void ImportImage( )
{
// Load datagrid
//inform the UI that I'm done
this.progressBa r1.Invoke( new ProcessedFileHa ndler( this.Done), null);
}
private void ImportImages_Lo ad(object sender, System.EventArg s e)
{
this.workingThr ead = new Thread(new ThreadStart(thi s.ImportImage)) ;
this.workingThr ead.Start();
}
"Scott Lundstrom" <sc***@defining logic.com> wrote in message
news:8e******** *************** ***@posting.goo gle.com...
I have a large amount of data I'm dropping into a dataset and would
like to find a way to at the very least show the user that the program
is working at retrieving the data and not locked up.
I have been unable to find a way to do this with a progress bar so I
thought that I would try to disply a message with an animated gif, but
I cannot get the gif to animate while the dataset is being filled
which is not doing me any good.
Any ideas? Please help.
Scott