Question about MSHTML

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dorock
    New Member
    • Nov 2007
    • 1

    Question about MSHTML

    My question is, every time I write a string containing HTML to an MSHTML it connects to the internet to get all the .css files and .js files. Is there anyway to stop this?

    Dim doc As mshtml.IHTMLDoc ument = New mshtml.HTMLDocu ment



    doc.write(html)
    doc.close()
    Application.Use WaitCursor = True
    ' The following is a must do, to make sure that the data is fully load.
    While (doc.readyState <> "complete")


    Application.DoE vents()
    System.Threadin g.Thread.Sleep( 1000)
    End While
Working...