>How would I display the last key stroke - say it is escape key?
What exactly are you trying to do - is it something specific to COM/DCOM?
If you're in a form or control, you could look at the .KeyPress event. Programmatically, there's LASTKEY( ). There is special handling for the ESCAPE key, look at SET ESCAPE and ON ESCAPE.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up