如何使用vb6.0从html文件中读取数据 [英] How to read data from html file using vb6.0

查看:788
本文介绍了如何使用vb6.0从html文件中读取数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好


任何人都可以解释我从html文件中读取数据。

iam编写了代码来读取html文件文件系统对象,

但是它正在阅读源代码。


感谢所有

解决方案


大家好


任何人都可以解释我从html文件中读取数据。

iam编写了使用文件系统对象读取html文件的代码,

但它读取了源代码。


感谢所有



只需将其作为文本文件打开,它取决于版本,但OPEN / FOR / AS对旧版本有帮助。 (例如vba或vb6)


你的回复可以给出任何一个例子


我的代码阅读带标签





是的,当你打开任何HTML文件时,它会读取所有标签..

你需要解析字符串并删除标签并获取相应的信息..

你必须为它编码..


问候

Veena

Hi to all

Can any one explain me to read data from an html file.
iam have written the code to read an html file using file system object,
but it reading the source code.

thanks to all

解决方案

Hi to all

Can any one explain me to read data from an html file.
iam have written the code to read an html file using file system object,
but it reading the source code.

thanks to all

just open it as a text file, it depends on the version, but OPEN/FOR/AS would be of help in older ones. (vba or vb6 for example)


thnks for your reply can give any example

my code reading with tags


Hi,

Yes, When you open any HTML file, it does read with all the Tags..
You need to parse the String and remove tags and get appropriate info..
You have to code for it..

Regards
Veena


这篇关于如何使用vb6.0从html文件中读取数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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