J
Jay Kappel
I sure hope someone can help. I have been searching the net non stop for a
week now and there are ZERO references to how this can be accomplished. I
am using ASP (not .Net) on an IIS 6.0 server and I have control of that
server. I would like to be able to implement the Microsoft HTML Object
Library into my asp script. The following works in vb6...
Dim m As MSHTML.HTMLDocument, d As Object
Set m = New MSHTML.HTMLDocument
Set d = m.createDocumentFromUrl("http://www.quicken.com", vbNullString)
Do
DoEvents
Loop While d.readyState <> "complete"
Text1.Text = d.documentElement.outerHTML
However, when you dim m as an object (which is what you do in IIS) it is no
longer able to find the CreateDocumentFromUrl method. Can someone please
help??
Thanks, Jay Kappel
PS - The IIS version that does not work but should is...
Dim m, d
Set m = New MSHTML.HTMLDocument
Set d = m.createDocumentFromUrl("http://www.quicken.com", vbNullString)
Do
'DoEvents
Loop While d.readyState <> "complete"
Response.Write d.documentElement.outerHTML
Also, is there something special I need to do so that the MSHTML library is
available to ASP scripts? I figure there may be an IIS modification I need
to do.
week now and there are ZERO references to how this can be accomplished. I
am using ASP (not .Net) on an IIS 6.0 server and I have control of that
server. I would like to be able to implement the Microsoft HTML Object
Library into my asp script. The following works in vb6...
Dim m As MSHTML.HTMLDocument, d As Object
Set m = New MSHTML.HTMLDocument
Set d = m.createDocumentFromUrl("http://www.quicken.com", vbNullString)
Do
DoEvents
Loop While d.readyState <> "complete"
Text1.Text = d.documentElement.outerHTML
However, when you dim m as an object (which is what you do in IIS) it is no
longer able to find the CreateDocumentFromUrl method. Can someone please
help??
Thanks, Jay Kappel
PS - The IIS version that does not work but should is...
Dim m, d
Set m = New MSHTML.HTMLDocument
Set d = m.createDocumentFromUrl("http://www.quicken.com", vbNullString)
Do
'DoEvents
Loop While d.readyState <> "complete"
Response.Write d.documentElement.outerHTML
Also, is there something special I need to do so that the MSHTML library is
available to ASP scripts? I figure there may be an IIS modification I need
to do.