Message Box Replacement with Timer
Category:Forms and Controls
Author:Franz Alex Gaisie-Essilfie
Version Compatibility: Visual Basic 6
After writing my Timed Shutdown program, I decided as an afterthought to rewrite the MsgBox-like form used in the app so it could be used for the MsgBox function. The aim of this dialog box when used in the Timed Shutdown program was to display a message box that would allow background activities such as the timer to work while preventing the user from using the form until he had responded to the message box. The timer, then, was just an added feature. See http://www.freevbcode.com/ShowCode.Asp?ID=8586. With this release, the dialog is almost indistinguishable from the normal MsgBox. Almost all of the features of the MsgBox function are implemented in this form. It is also designed to be compatible with existing code which uses the MsgBox function after simply changing the declaration.
Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.