如何从工具WebBrowser中提取文本 [英] How to extracted text from a tool WebBrowser

查看:66
本文介绍了如何从工具WebBrowser中提取文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从此站点中提取文本https://login.live.com。登录后,例如,我的名字约翰提取约翰的名字首先是我使用此代码的日志

How to extracted text from this site https://login.live.com. after login, for example, I my name John extracts the name of John's first what the log I am using this code

Dim PageElements As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("div")

       For Each CurElement As HtmlElement In PageElements

           TextBox3.Text = TextBox3.Text & CurElement.GetAttribute("dirltr") & Environment.NewLine

       Next



但我不提取文字不知道有什么问题请帮忙

推荐答案

这篇关于如何从工具WebBrowser中提取文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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