hi!I don't understand because i am new in C# ,so pls send coding(link).thanks,Regards,surez_tHi,Just like Rob said, you can't just read the file as if it were binary thinking it would be as easy as a text file. Do you think Microsoft would make it this easy to allow people to edit Word documents from a browser? Why not just have them open up their version of Word and have them do what they need to do from there?
On 6/28/05, suresh suresh <[EMAIL PROTECTED] > wrote:hi!Thanks! for ur kind information.I am using binaryreader method.but the browser dispaly following error msg:- Unable to read the end of stream.I am unable to understand that error pls give some solutionthanks!Regards,Surez_t
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 ();
Free antispam, antivirus and 1GB to save all your messages
Only in Yahoo! Mail: http://in.mail.yahoo.com
YAHOO! GROUPS LINKS
- Visit your group "Microsofts_C_Sharp" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
How much free photo storage do you get? Store your friends n family photos for FREE with Yahoo! Photos.
http://in.photos.yahoo.com
YAHOO! GROUPS LINKS
- Visit your group "Microsofts_C_Sharp" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---- LSpots keywords ?> ---- HM ADS ?>
YAHOO! GROUPS LINKS
- Visit your group "Microsofts_C_Sharp" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
