Click here to Skip to main content
15,886,578 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am working with a copy paste program. A program that gets data from a database and paste it to a window. the process is working when I use AppActivate function setting the window selected before pasting. What my problem is I want the program to have a selection that paste data from the NEXT WINDOW(ALT+TAB). I use this but its not working
VB
SendKeys.SendWait("%{TAB}")

Please help.. thanks
Posted
Updated 10-Sep-13 1:10am
v2

1 solution

You need to confirm whether you have focus on your windows that you need to alter.Check:
SendKeys "{alt+Tab}" doesnt work[^]
How do I SendKeys an ALT TAB?[^]
 
Share this answer
 
Comments
hansoctantan 10-Sep-13 9:34am    
thank you very much... the Wscript.Shell works
ridoy 10-Sep-13 12:08pm    
Glad to help you,:)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900