showing form while...

What is the best way to show form while another forms sub is running?

I've got a form where user gives some information and then pushes the save button which runs SaveDatabase sub and that saving can take a while. I would like show some kind of "Saving in progress..." form there and it would disappear when saving is done.

Anybody any ideas where I could find some nice saving animations?

Thanks in advance!
majalaAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
watyConnect With a Mentor Commented:
Do as follow :

Sub SaveDatabase()

    FormWait.show
    doevents
   
    '*** Here save your database
    ...
    ...

    '*** Work is done

    unload FormWait

End Sub
0
 
majalaAuthor Commented:
Is there any way to do this if those both forms are modal?
0
 
watyCommented:
The only way, is doing the save database in your modal waiting form.

See your other question for some more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.