Solved

showing form while...

Posted on 1998-09-02
3
123 Views
Last Modified: 2010-04-30
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!
0
Comment
Question by:majala
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
waty earned 50 total points
Comment Utility
Do as follow :

Sub SaveDatabase()

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

    ...

    '*** Work is done

    unload FormWait

End Sub

NB : you could add some annimation in your form.

 In the FormWait : Add a timer with code to show annimation
 During the Save don't forget to add some doevents to give  
time to the form to make annimation.

 
             
0
 

Author Comment

by:majala
Comment Utility
Any idea where could I find those animations (from internet or ...)?
0
 
LVL 14

Expert Comment

by:waty
Comment Utility
You could find some of them on internet, but I don't have an adress.

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now