windows form application

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi;

I'm having trouble getting my form to refresh a progress and statusbar,
which I've used successfully before.

Also, my application just seems to stop working although it's still running.
Let me explain. It acts like it's paging memory or something. This is a
memory intensive application. Any thoughts appreciated.

None of the code below is working.

StatusBar2.Text = "Begin Updating Field Data "
ProgressBar2.Visible = True
ProgressBar2.Show()
ProgressBar2.Minimum = 0
ProgressBar2.Maximum = doccount + 1
StatusBar2.Refresh()
Me.StatusBar2.Visible = True
frmMain.DefInstance.ActiveForm.Show()
frmMain.ActiveForm.Show()
Me.StatusBar2.Show()
'frmMain.DefInstance.ActiveControl.Show()
System.Windows.Forms.Application.DoEvents()

Regards;

Segue
 
Please don't respond to this I forgot I was reinstantiating the progressbar
when I didn't need to.

Duh.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top