Scan for all open applications ... (1 Viewer)

davides

Registered User.
Local time
Today, 07:15
Joined
Jun 14, 2010
Messages
11
Hello there !
I need a code in vba, to scan all Windows Applications wich are open for a touch keyboard .When I start the keyboard form I want that my code to "scan" all application ...
Any ideeas how to do this ? Wich function from Vba is more accesible ?
I`m working in Access 2003...
Thanks in advance !
 

davides

Registered User.
Local time
Today, 07:15
Joined
Jun 14, 2010
Messages
11
anyone ? ... any help will be appreciatte ... I now that sendkeys function is the simillar with what I want to do ... but how? :D
 

davides

Registered User.
Local time
Today, 07:15
Joined
Jun 14, 2010
Messages
11
I succeed to send key with a function to a new Notepad document ...
Code:
Function SendKeysToApplication()
 
 Dim sKeySend As Variant
 
     sKeySend = Shell("Notepad", vbNormalFocus)
     AppActivate sKeySend
     SendKeys "a", True
       
 End Function

called from a onClick_Event it open a notepad and write "a" letter ...

But I want to write on an open aplication like Outlook,Word,I.E

Any ideeas !?
 

DCrake

Remembered
Local time
Today, 15:15
Joined
Jun 8, 2005
Messages
8,626
What is the end result you are trying to acheive?
 

davides

Registered User.
Local time
Today, 07:15
Joined
Jun 14, 2010
Messages
11
Hello DCrake ... I maded a form in Access to imitate the keyboard, osk.exe from system32.Is not so complex but is ok(I think).So I want to use it in all open aplication wich are open on windows ... I thought that onLoad form I have to scan or listed in a combobox,textbox or listbox all aplications and with selected application then I can type in ... Any ideas how to made this list ?
Regards !
 

Users who are viewing this thread

Top Bottom