开发者

VB6: alternative to the HTML Object Library (for parsing HTML)

开发者 https://www.devze.com 2022-12-16 05:36 出处:网络
I\'ve been using the HTML object library for a while for parsing HTML. The library itself works perfectly, the only problem is that lo开发者_如何学运维ading/initializing HTML using createDocumentFrom

I've been using the HTML object library for a while for parsing HTML.

The library itself works perfectly, the only problem is that lo开发者_如何学运维ading/initializing HTML using createDocumentFromUrl (even if it's a small file) takes way too long.

Does anyone know if there exists an alternative component?


You can add a reference to Microsoft VBScript Regular Expressions 5.5 then use regular expressions to parse it. The general recommendation is don't try to use regular expressions to parse html, but if you are looking for only a few tags this might work for you.

0

精彩评论

暂无评论...
验证码 换一张
取 消