Jan 14, 2004 #1 cranebill IS-IT--Management Jan 4, 2002 1,113 US I am using the Call function to open the Windows On-Screen Key Board. How can i programatically close this application? Bill
I am using the Call function to open the Windows On-Screen Key Board. How can i programatically close this application? Bill
Jan 14, 2004 #2 tinymind Programmer Nov 9, 2000 90 GB docmd.quit Tiny Perfection is Everything If it worked first time we wont be here! Upvote 0 Downvote
Jan 14, 2004 #3 tinymind Programmer Nov 9, 2000 90 GB Apologies ... my stupid mistake ... must read post more carefully ... Perfection is Everything If it worked first time we wont be here! Upvote 0 Downvote
Apologies ... my stupid mistake ... must read post more carefully ... Perfection is Everything If it worked first time we wont be here!
Jan 14, 2004 1 #4 oharab Programmer May 21, 2002 2,152 GB You need to get the classname of the open application, then the PostMessage api call to send the command to close it. http://www.mvps.org/access/api/api0025.htm gives you the code. cheers Ben ---------------------------------------------- Ben O'Hara http://www.RobotParade.co.uk"Where are all the stupid people from... ...And how'd they get so dumb?" NoFX-The Decline ---------------------------------------------- Upvote 0 Downvote
You need to get the classname of the open application, then the PostMessage api call to send the command to close it. http://www.mvps.org/access/api/api0025.htm gives you the code. cheers Ben ---------------------------------------------- Ben O'Hara http://www.RobotParade.co.uk"Where are all the stupid people from... ...And how'd they get so dumb?" NoFX-The Decline ----------------------------------------------
Jan 14, 2004 Thread starter #5 cranebill IS-IT--Management Jan 4, 2002 1,113 US Worked like a charm.. thanks... that site has a ton of useful information. Bill Upvote 0 Downvote