Calling .RTF file in asp.net (Very Urgent)

Is there any method to call the RTF file in the WEB FORM. Please help me out

thanks,
Mathew
mvargheseAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
NandhiniConnect With a Mentor Commented:
Try this

<%
docpath = Server.MapPath("doc1.rtf")
set word = createobject("Word.Application")
text = word.documents.open(docpath).Content.Text
word.quit
response.write(text)
%>

this works fine with asp
0
All Courses

From novice to tech pro — start learning today.