OK, here's the scoop:
I'm a web developer that has a site where my client uploads Word Documents. The Word Docs are chopped-up and put into a more HTML-friendly format. Recently, my client has upgraded to Word 2001 ON A MAC!! ;|
Consequently, the XML islands and stylesheet junk make the files unusuable....unless they are cleaned by the..."OFFICE HTML FILTER 2.0" TA DA! (which is, of course, unavailable for the Mac.)
(see
http://office.microsoft.com/downloads/2000/Msohtmf2.aspx for this filter.)
My quest is to put the corresponding DLL on to the server (MSfilter.dll) and automatically clean the HTML files using ASP.
My problem is that I cannot find the progID for MSfilter.dll. So, I've tried to create an ActiveX DLL "wrapper" with a public interface. (see "HOWTO: Programmatically Use the HTML Filter DLL to Save Word Documents as Plain HTML"
http://support.microsoft.com/support/kb/articles/Q291/3/25.ASP)
However, for some odd reason, calling the ActiveX wrapper DLL from the server does not filter the file.
Someone please help me!