Chris Enright
cclenright at yahoo.com
Wed May 28 14:56:58 CDT 2003
Thanks very much Charlotte and Mark,
AppActivate MyAppID
SendKeys "%{F4}"
solved my problem.
Tks
Chris
Charlotte Foust <cfoust at infostatsystems.com> wrote:
Use the handle you got back from the Shell call to activate the correct
window and then use sendkeys to pass an Alt+F4 to close it.
AppActive MyAppID
SendKeys "%{F4}"
Charlotte Foust
-----Original Message-----
From: Chris Enright [mailto:cclenright at yahoo.com]
Sent: Wednesday, May 28, 2003 8:49 AM
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).
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com
---------------------------------
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://databaseadvisors.com/pipermail/accessd/attachments/20030528/e57b0534/attachment-0001.html>