Wrox Programmer Forums
|
BOOK: Access 2010 VBA Programmer's Reference
This is the forum to discuss the Wrox book Access 2010 Programmer's Reference by Teresa Hennig, Rob Cooper, Geoffrey L. Griffith, Jerry Dennison; ISBN: 978-0-470-59166-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Access 2010 VBA Programmer's Reference 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 April 7th, 2014, 10:44 AM
Registered User
 
Join Date: Nov 2013
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default Closing a Message Box without selecting a button

How can I close a msgBox programatically? I have a subroutine that runs several queries to delete and rebuild a set of tables. I am not using forms, just rebuilding tables to do further data analysis. It takes a couple of munites to do, and I wanted to have a message pup up to alert the user. Something really simple like msgBox("Running"). But I would like to message to go away without selecting OK when the update is complete.

Thanks
 
Old April 7th, 2014, 03:57 PM
Authorized User
 
Join Date: Oct 2010
Posts: 64
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Hi,

You can create a form to use as a msgbox, give it a public property of the text it must display and then you can use this new form class like a msgbox that you can open and close programmatically.
I'm sure there's an article in the book that does something similar.
An alternative is to use the status bar, however I think it sounds like you want something in the face of the user!
HTH, if not I'll try to help further.

Malc.
The Following User Says Thank You to malcolmdixon For This Useful Post:
pughpl (April 7th, 2014)





Similar Threads
Thread Thread Starter Forum Replies Last Post
pre-selecting an item in a combo box kscase Visual Basic 2005 Basics 1 July 12th, 2007 07:33 AM
Message Box HELP!!! Dwizz ASP.NET 1.0 and 1.1 Basics 1 July 21st, 2005 07:22 AM
Closing an IE "OK" Dialogue box. Ahrenl Excel VBA 4 May 27th, 2005 10:04 AM
update the database when selecting a chk box ..... urindian ASP.NET 1.x and 2.0 Application Design 1 February 5th, 2005 04:39 PM
Closing browser using a Button MichaelTJ ASP.NET 1.0 and 1.1 Basics 3 December 18th, 2003 02:06 PM





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