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 ProcessedFileHandler( );
Thread workingThread;
private System.Windows.Forms.ProgressBar progressBar1;
void Done()
{
MessageBox.Show("Done");
this.Close();
}
void ImportImage( )
{
// Load datagrid
//inform the UI that I'm done
this.progressBar1.Invoke( new ProcessedFileHandler( this.Done), null);
}
private void ImportImages_Load(object sender, System.EventArgs e)
{
this.workingThread = new Thread(new ThreadStart(this.ImportImage));
this.workingThread.Start();
}
"Scott Lundstrom" <sc***@defininglogic.com> wrote in message
news:8e**************************@posting.google.c om...
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