sendKeys enter key to a message box with yes /no fields

V

viren

Hi

how do i send an enter key command to a msgbox with yes / no fields.. it
automatically defaults to yes and i just need the enter key pressed without
actually manually pressing ..

my application automatically shuts all open databases if i want to make
changes. i have to change the 0 to a -1 and it automatically triggers a timer
... my main form has a quit.. message box on unload event. so after it counts
down to 0 it stops at the message box and waits for me to manually press
enter. how can i bypass this???

i want this to work only when i want to log users off..
 
D

Douglas J. Steele

Is there a reason for the message box? Can you just create your own form on
a timer that closes on its own?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top