MS Access 2003 - Message Box: How can I answer "ok" automatically through code
Posted
by Justin
on Stack Overflow
See other posts from Stack Overflow
or by Justin
Published on 2010-03-19T17:18:18Z
Indexed on
2010/03/19
17:21 UTC
Read the original article
Hit count: 610
So a couple silly questions:
If I include this in some event:
MsgBox " ", vbOkOnly, "This little message box"
could I then with some more code turn around and 'click the ok button. So that basically the message boox automatically pops up, and then automatically goes away?
I know its silly because you want to know, why do you want the message box then.....
well a) i just want to know if you can do that, and what would be the command
b) i have some basic shapes (shape objects) that are made visible when the message box appears. But without having the message box there, there is no temporary disruption of code while waiting for the button to be clicked, and therefor those pretty image objects being made visible does take effect on the the form.
So I really do not need the message box, just the temp disruption that shows the objects.
Thanks!
© Stack Overflow or respective owner