发送密钥到geckofx webrowser? [英] cant sendkeys to geckofx webrowser?

查看:81
本文介绍了发送密钥到geckofx webrowser?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我已经编译了一个代码来将关键笔划发送到geckofx webrowser,但问题是它似乎没有发送密钥!有什么想法吗?提前谢谢!

这里是我的代码;



 私人  Sub  Button1_Click_1( ByVal  sender 作为系统。对象 ByVal  e 正如 System.EventArgs)句柄 Button1.Click 
.geckowebrowser1.Focus ()
' 专注于浏览器
SendKeys.SendWait( {tab}

结束 Sub

解决方案

嘿,唯一跳过的东西那里的TAB不是大写的。

<小时EF = http://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys.aspx> http://msdn.microsoft.com/en-us/library/system.windows。 forms.sendkeys.aspx [ ^ ]

hello guys, i have compiled a code to send key strokes to a geckofx webrowser, but the problem is it doesn''t seem to send the keys!! so any ideas? thanks in advance!
here''s my code;

Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Me.geckowebrowser1.Focus()
    'to focus on the browser
    SendKeys.SendWait("{tab}")
    
End Sub

解决方案

Hey the only thing that jumps out there is that TAB is not upper case.
See http://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys.aspx[^]


这篇关于发送密钥到geckofx webrowser?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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