Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

mshtml and VB/ASP

23 views
Skip to first unread message

E. Smee

unread,
Oct 25, 2001, 10:42:59 AM10/25/01
to
Is it possible to use the MSHTML DOM in an (server side) ASP page? I have
had no success in ASP, but VB6 seems to work fine.
It seems like it would be a lot more useful for document automation than the
XML objects.

Any help would be greatly appreciated.

Works: VB6: Dim objDocument as MSHTML.HTMLDocument

Doesn't Work: ASP: Set objDocument = Server.CreateObject
("mshtml.htmldocument")

Cowboy

unread,
Oct 25, 2001, 11:49:52 AM10/25/01
to
Create a wrapper object in VB. The interfaces in question most likely do not
use IDispatch, which means you cannot get to them from ASP. ASP will only
use the default interface ... end of story.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Author: ADO.NET and XML: ASP.NET on the Edge (4Q 2001)

*************************************************************************
Think Outside the Box!
*************************************************************************
"E. Smee" <e_s...@hotmail.com> wrote in message
news:#mgwkSWXBHA.1608@tkmsftngp05...

0 new messages