Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 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 July 9th, 2004, 12:18 AM
Registered User
 
Join Date: Jun 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Pausing Code?

I am trying to call a form and wait until the called form unloads itself before my code continues. Any suggestions?

Example:

In Form A:

Code

frmGetData.Show

Pause here until frmGetData unloads

More Code




Thanks,

Ray
 
Old July 9th, 2004, 08:02 AM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 205
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Call the form modally. This will ensure that nothing goes further until the form is done processing. Below is the code for this:

frmGetData.Show 1

Yehuda





Similar Threads
Thread Thread Starter Forum Replies Last Post
pausing execution dcher BOOK: Access 2007 VBA Programmer's Reference ISBN: 978-0-470-04703-3 1 January 7th, 2008 04:26 AM
Pausing a rotating image banner 132591 Javascript How-To 1 December 18th, 2006 01:54 AM
Pausing a web application macupryk ASP.NET 1.0 and 1.1 Basics 1 November 5th, 2005 01:51 AM
Pausing a procedure ja8261 VB.NET 2002/2003 Basics 3 October 19th, 2004 04:14 PM
Running and pausing exe's from DTS Package leehambly SQL Server DTS 2 September 22nd, 2003 10:15 AM





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