[AccessD] Closing an Application

Mitsules, Mark mitsules_ms at nns.com
Wed May 28 12:11:43 CDT 2003


Chris,

Can you use SendKeys to close it?
SendKeys "%{F4}" (= ALT F4)


Mark


-----Original Message-----
From: Chris Enright [mailto:cclenright at yahoo.com] 
Sent: Wednesday, May 28, 2003 12:49 PM
To: accessd at databaseadvisors.com
Subject: [AccessD] Closing an Application


Hi Group,

I would like to think that I am having this problem because I have been away
from Access for a couple of years but I strongly suspect it might have
something to do with big six-O coming next week.

I am writing an application that requires the On Screen Keyboard in WinNT.

This starts it fine....

 
    Dim MyAppID, ReturnValue
 
    MyAppID = Shell("C:\Winnt\system32\osk.exe", 1)  ' Run On Screen
Keyboard.
    AppActivate MyAppID
 
 Problem is, what code do I use to close it?

Tks

Chris Enright


Do you Yahoo!?
Free online calendar with sync to Outlook(TM).


More information about the AccessD mailing list