Results 1 to 4 of 4

Thread: [RESOLVED] [2005] HELP showing wait message/progress bar

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2008
    Location
    Waterloo, ON
    Posts
    251

    Resolved [RESOLVED] [2005] HELP showing wait message/progress bar

    I am designing an application that lets users paste a report in an excel control and click next, then the program extracts the useful information from the report and shows it in a datagridview.

    The problem is that if the report is really large then this could take a few minutes, so I want to either show a pop up window with a progress bar (which I have no idea how to do) or just simply a "Working, please wait..." message. I did this with a form with the message in it, setting it to show before the method starts and hide when it is finished, the problem is that the label does not load properly, it just shows up as a 'hole' in the form. I also tried hiding the datagridview until the information is loaded, and put the label behind it in the main screen but the label doesn't show up.

    How can I somehow give the user a "working" message (or even better a progress bar)? Thanks in advance.

    --Rikki

    EDIT: I have looked into the progress bar control, and decided against using it.
    Last edited by Rikki_UW; Oct 30th, 2008 at 11:44 AM.

  2. #2
    Hyperactive Member .NetNinja's Avatar
    Join Date
    Oct 2008
    Location
    USA
    Posts
    281

    Re: [2005] HELP showing wait message/progress bar

    Try a Me.Refresh or Label.Refresh after it loads.

  3. #3
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,423

    Re: [2005] HELP showing wait message/progress bar

    or use:

    vb Code:
    1. application.doevents

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Feb 2008
    Location
    Waterloo, ON
    Posts
    251

    Re: [2005] HELP showing wait message/progress bar

    w00t that works. Thanks once again.

    --Rikki

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width