|
-
Mar 17th, 2002, 03:45 AM
#1
Thread Starter
Member
urgent
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|