VB.NET ALT + TAB无法正常工作。 [英] VB.NET ALT+TAB not working.

查看:69
本文介绍了VB.NET ALT + TAB无法正常工作。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用复制粘贴程序。从数据库获取数据并将其粘贴到窗口的程序。当我使用 AppActivate 函数设置粘贴前选择的窗口时,该过程正在运行。我的问题是我希望程序有一个从NEXT WINDOW(ALT + TAB)粘贴数据的选择。我用它但它不工作

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

SendKeys.SendWait("%{TAB}")



请帮助..谢谢


Please help.. thanks

推荐答案

你需要确认你是否专注于你需要改变的窗户。检查:

SendKeys{alt + Tab}无效 [ ^ ]

我如何发送ALT TAB? [ ^ ]
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?[^]


这篇关于VB.NET ALT + TAB无法正常工作。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆