I am having trouble running the code listed below in a dll that I am calling from ASP. Can anyone see what I could be missing. This code runs fine in a Standard VB6 exe. Any suggestions would be very helpful.
Dim Word
If Dir(dstTXTfile) <> "" Then
Kill dstTXTfile
End If
Set Word = CreateObject("Word.Application")
Word.Documents.Open(srcRTFfile).SaveAs dstTXTfile, 2
Word.Quit
Set Word = Nothing
Thanks
Yeagly
Dim Word
If Dir(dstTXTfile) <> "" Then
Kill dstTXTfile
End If
Set Word = CreateObject("Word.Application")
Word.Documents.Open(srcRTFfile).SaveAs dstTXTfile, 2
Word.Quit
Set Word = Nothing
Thanks
Yeagly