i am making one dll to convert the html to rtf and i am using this linebut the error i am getting is is that it is not creating the object("wrod.application") though i have included
the word library thsi errro i get wen i run thi s dll from asp page will anyone can tell me what might be the error
Public Function UserDocumnet()
Static WordObj As Word.Application
Set WordObj = CreateObject("Word.Application")
WordObj.Documents.Open ("c:\test.htm")
WordObj.Visible = False
WordObj.ActiveDocument.SaveAs "c:\test.rtf", wdFormatRTF
WordObj.Quit savechanges:=False
Set WordObj = Nothing
End Function