[AccessD] Auto Close a Simple MessageBox

jack drawbridge jackandpat.d at gmail.com
Fri Mar 25 12:28:48 CDT 2011


Thanks Dan.

On Fri, Mar 25, 2011 at 11:56 AM, Dan Waters <df.waters at comcast.net> wrote:

> I found this in an old forum to allow a messagebox to close automatically.
> I've tried it and it works just fine!
>
> '--------------
> Alternatively you could use the following code in place of your message
> box:
>
> CreateObject("WScript.Shell").Popup "Test.", 2, "Test"
>
> the user can also click the ok button to close the popup, or the popup will
> automatically close itself after two seconds, and continue on with your
> macro. replace "Test" with the appropriate message and title, and replace
> the number 2 with the number of seconds you want the popup to remain.
> '--------------
>
> Dan
>
>
>
>
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>



More information about the AccessD mailing list