Results 1 to 4 of 4

Thread: Msgbox Question??

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Location
    Greenville
    Posts
    73

    Post

    Hey again, When the user clicks on save and is waiting for the function to finish (waiting for it to save) I want a msgbox that will stay up the whole time that says "Please wait, save in progress" while the rest of the code for the save runs. I just can't get the code straight to keep it up until the save is complete. Any Suggestions, Pre-Pre Thanks.

  2. #2
    Addicted Member
    Join Date
    Jan 2000
    Location
    Fresno, California, USA
    Posts
    195

    Post

    Try creating a tiny form with just a label on it that contains the text you want. Load it at the beginning of the save and unload it when the save is done.

  3. #3
    Hyperactive Member Juan Carlos Rey's Avatar
    Join Date
    Aug 1999
    Location
    Mendoza, Argentina
    Posts
    301

    Post

    MsgBox are no-no for this purpose, as they require the user to take an action, such as clicking on a button for the program to continue. They are best suited for notification instead.

    Use a small form as HDR suggested.

    If you can split the saving action in parts or segments, then you can add a progress bar (3 or 4 segments are OK)
    See http://www.vb-world.net/tips/tip40.html
    HTH

    Edited by Juan Carlos Rey on 02-27-2000 at 12:23 AM
    Combat poverty: kill a poor!!

  4. #4
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Post

    if you create a tiny form like HDR suggested, then don't forgot to set the form to always on top, else it will hide behind the parent form upon the user click the parent form.

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