Wrox Programmer Forums
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 14th, 2005, 04:19 PM
Registered User
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Delay form unload

How do I add a timed delay to a form unloading.

I would like to add a 5 second delay so users can see the "Game Over" screen before the program shuts down.

Old December 15th, 2005, 09:58 AM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

This usually involves putting a timer control on your form. Then you configure the time and start it, then handle the event that it fires when it's reached its time limit.


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to laod a form and unload current form? amit_mande@yahoo.com Pro VB.NET 2002/2003 0 August 11th, 2006 09:15 AM
Unload the Form dpkbahuguna Beginning VB 6 4 March 21st, 2006 06:50 AM
Interrupting DoCmd.Close & Form Unload Event SerranoG Access 2 November 19th, 2005 03:41 PM
Delay Form loading by timer Brendan Bartley Access 1 June 23rd, 2005 10:25 AM
unload form in vb.net Kbera VB.NET 2002/2003 Basics 0 September 13th, 2004 07:51 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.