By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,646 Members | 2,105 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,646 IT Pros & Developers. It's quick & easy.

Question about MSHTML

P: 1
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.IHTMLDocument = New mshtml.HTMLDocument



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


Application.DoEvents()
System.Threading.Thread.Sleep(1000)
End While
Nov 26 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.