Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Close Application 1

Status
Not open for further replies.

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
 
docmd.quit

Tiny

Perfection is Everything
If it worked first time we wont be here!
 
Apologies ... my stupid mistake ... must read post more carefully ...

Perfection is Everything
If it worked first time we wont be here!
 
You need to get the classname of the open application, then the PostMessage api call to send the command to close it.


gives you the code.

cheers

Ben


----------------------------------------------
Ben O'Hara "Where are all the stupid people from...
...And how'd they get so dumb?"
rockband.gif
NoFX-The Decline
----------------------------------------------
 
Worked like a charm.. thanks... that site has a ton of useful information.

Bill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top