U just have to refer to MSHTML libarary in ur
VB project. Code will some something as simple as this
Dim HtmNode As MSHTML.IHTMLDOMNode
Dim HtmDoc As MSHTML.HTMLDocument
Set HtmDoc = New MSHTML.HTMLDocument
Set HtmNode = HtmDoc.appendChild(HtmDoc.createElement("HTML"))
Regards
Ankur Verma