Microsoft word is a binary file, you will need to use binary reader. Also, you need to understand the format of a word document, research and google.

 

Kind Regards,

http://www.rahsoftware.com – Software Development and Web Design

http://www.lightninghosts.net – Cheap Web Hosting and ASP.NET Support

 


From: [email protected] [mailto:[email protected]] On Behalf Of surez_t
Sent: 25 June 2005 14:50
To: [email protected]
Subject: [Microsofts_C_Sharp] how to open word document in browser using c# coding

 

hi!

i want to open/edit/save word document in my browser.i am using
following code,but i am not able get word dcoument content in my
browser.

FileStream fs=File.OpenRead(Server.MapPath("test.doc"));
StreamReader sr=new StreamReader(fs);
while(sr.peek()>-1)
{
Response.write(sr.ReadToEnd());
sr.Close();
fs.Close();





YAHOO! GROUPS LINKS




Reply via email to