Solved

showing form while...

Posted on 1998-09-02
3
127 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
ID: 1432523
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
ID: 1432524
Any idea where could I find those animations (from internet or ...)?
0
 
LVL 14

Expert Comment

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

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Validating VB6 Function 19 65
Determine Range to Select 5 52
Adding to a VBA? 6 76
Run code from text file in vb 1 71
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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

808 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