Solved

Automaticly closing form

Posted on 2002-07-19
1
231 Views
Last Modified: 2010-05-02
I want that a form will close automaticly after 20 seconds .
How can I do this?
0
Comment
Question by:Inga_dusha
1 Comment
 
LVL 4

Accepted Solution

by:
gencross earned 45 total points
ID: 7164498
Use a timer.  Set the interval to 20000.  In the timer put...

Private Sub Timer1_Timer()
    Unload Form1
End Sub

This should unload your form after 20 seconds
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

809 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