在对问题 # 56107的回答中,Erlend 提供了这个示例 C# 代码:
using mshtml;
...
object[] oPageText = { html };
HTMLDocument doc = new HTMLDocumentClass();
IHTMLDocument2 doc2 = (IHTMLDocument2)doc;
doc2.write(oPageText);
我想在 VB.NET 中使用 mshtml,但 IDE 无法识别:
Imports mshtml
在 VB.NET 中使用 MSHTML 需要采取哪些额外步骤?