Re: Newbie: Form Load Control Issues...



The application.DoEvents() seemed to work, however, I could not find the
'refresh' method i.e. form1.refresh()??
-ev-

"Herfried K. Wagner [MVP]" wrote:

> "The VanDerbeck Group" <TheVanDerbeckGroup@xxxxxxxxxxxxxxxxxxxxxxxxx>
> schrieb:
> >I have a very simple app that has one form (form1) and on the form is a
> > progressbar (progressbar1). My issue is when the app runs, the progress
> > bar
> > beging updating before the complete form is loaded (i.e. I see the
> > progress
> > bar fillin in, and the title bar of the form, but the rest of the form is
> > not
> > loaded. What am I doing wrong? The progress bar is updated via a sub that
> > basically is nothing more that a counter loop.
>
>
> Call 'Application.DoEvents' and the form's or control's 'Refresh' method
> every nth iteration.
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://classicvb.org/petition/>
>
>
.



Relevant Pages

  • C# Windows form window freezes when program is executing
    ... I have a Windows form application that has a start button, a progress ... bar and also writes information to the status bar the code is C#. ... mouse over event refresh the window. ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Statusbar
    ... I see the progree bar happenening on the bottom of the screen. ... 'this updates the progress bar ont he first update progress box. ... Sub TestBar() ... StatBar i, MyTot, "Processing", True ' display statusbar ...
    (microsoft.public.excel.programming)
  • Re: VB6 Newbie - Progress Bar
    ... It looks like outside the sql, you have 3 for/next loops handling file ... It is during these that you would have to calculate the progress. ... greater than stuffing it in a file, so the bar would sit at 0 for a ... Dim tempRecSet As Recordset ...
    (microsoft.public.vb.general.discussion)
  • RE: Statusbar
    ... I do not have a Userform on this workbook atall. ... I see the progree bar happenening on the bottom of the screen. ... 'this updates the progress bar ont he first update progress box. ... Sub TestBar() ...
    (microsoft.public.excel.programming)
  • Re: Startup progress bar
    ... "Slobodan Brcin " wrote: ... You are saying you see the text mode progress bar instead of ... >> regular XP/XPe graphic logo progress screen? ... >> - How XP Pro works on the same device with the same CF card installed? ...
    (microsoft.public.windowsxp.embedded)