Questions in creating Message Box....

  • Thread starter Thread starter Paul
  • Start date Start date
P

Paul

I want to create the message box for a sub-routine. The sub-routine
sometimes takes long to complete. As a result I want a message box (with no
button on it) to pop up once the sub-routine is activated and it is showing
"Please wait..." and then the first message box closes itself and another
message box with a "OK" button on it, saying "The change is sucessfully
completed." once the sub-routine is completed. Thanks.
 
Paul said:
I want to create the message box for a sub-routine. The sub-routine
sometimes takes long to complete. As a result I want a message box
(with no button on it) to pop up once the sub-routine is activated
and it is showing "Please wait..." and then the first message box
closes itself and another message box with a "OK" button on it,
saying "The change is sucessfully completed." once the sub-routine is
completed. Thanks.

The first can't be done with a MessageBox because a MessageBox must have a
button and all code would pause until it was closed. Just create a small form
and open that at the start of your sub-routine.
 
Paul said:
I want to create the message box for a sub-routine. The sub-routine
sometimes takes long to complete. As a result I want a message box
(with no button on it) to pop up once the sub-routine is activated
and it is showing "Please wait..." and then the first message box
closes itself and another message box with a "OK" button on it,
saying "The change is successfully completed." once the sub-routine is
completed. Thanks.

The first can't be done with a MessageBox because a MessageBox must have a
button and all code would pause until it was closed. Just create a small form
and open that at the start of your sub-routine.
 
in message:
I want to create the message box for a sub-routine. The sub-routine
sometimes takes long to complete. As a result I want a message box (with no
button on it) to pop up once the sub-routine is activated and it is showing
"Please wait..." and then the first message box closes itself and another
message box with a "OK" button on it, saying "The change is sucessfully
completed." once the sub-routine is completed. Thanks.

Hi Paul,

Here are some ready-made instructions on this topic:

ACC97: How to Create a "Please Wait" Message
http://support.microsoft.com/?id=96989

ACC2000: How to Create a "Please Wait" Message
http://support.microsoft.com/?id=209608

ACC2002: How to Create a "Please Wait" Message
http://support.microsoft.com/?id=290133
 
Back
Top