webbrowser:单击按钮,将文本设置为ID. [英] webbrowser : click button , set text to id ..

查看:61
本文介绍了webbrowser:单击按钮,将文本设置为ID.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网站,我将制作一个应用程序以登录到我的网站

i have a web site , i will make an app to login to my site ,

在vb net中,我们使用的桌面设备是

in vb net , desktop devlope we use :

         wb.Document.All("btnID").InvokeMember("click")
点击,

          wb.Document.All("btnID").InvokeMember("click")
to click ,

       wb.Document.GetElementsById("id").SetAttribute("Value",此处文本")

        wb.Document.GetElementsById("id").SetAttribute("Value", "text here")

将文本设置为网站中的文本框,

to set text to textbox in webbsite ,

我可以在wp中这样做吗?

can i do that in wp ?

MMG

推荐答案

Windows Phone具有通常的独立IE浏览器,但是Windows Phone应用程序无法直接访问它.应用可以使用 Web浏览器控件;您可以对其进行更详细的检查.您可以引用远程或本地(NavigateToString)URL,并且如果在控件中启用了脚本,则可以调用脚本.

Windows Phone has the usual stand alone IE browser but Windows Phone apps do not have direct access to it. Apps can use the WebBrowser control; you can inspect it in further detail. You can reference remote or local (NavigateToString) URLs and you can invoke scripting if you enable it in the control.

希望这会有所帮助,
标记

Hope this helps,
Mark


这篇关于webbrowser:单击按钮,将文本设置为ID.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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