Does anyone know how to load up a HTMLDocument from a .htm page located on the local system and not a web server???
I am not using axwebbrowser as i do not require a UI.
If anyone can advise it would be good.
VB Code:
Dim objMSHTML As New mshtml.HTMLDocument Dim objDoc As New mshtml.HTMLDocument Dim objLink As mshtml.HTMLLinkElement Dim strOfLinks As String objDoc = objMSHTML.createDocumentFromUrl(mLocation, vbNullString) While objDoc.readyState <> "complete" Application.DoEvents() End While For Each objLink In objDoc.links strOfLinks = strOfLinks & objLink.toString Next


Reply With Quote