Click here to Skip to main content
14,636,537 members

displaying ms office files(doc,docx,xls,xlsx,ppt,pptx) in browser (IE)

manbazhagan asked:

Open original thread
iam bulding a asp.net application using asp.net c# in vs2010.

my requirement is to display ms office files in browser.

the requirement is such 'cause i need the user to only view the files and not copy or download the ms office files that are to be shown to him.

i tried converting the ms office files to html and 'en dispaly the html file using interop dll files. but it is not stable and microsoft itself does not recommend this method as given in the following link:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q257757#kb2[^]

also came to know that it can be build as an activeX control; in which i've no idea.

Kindly suggest me solutions that can enable me to achive my requirement. Also post related links if possible. Thank you.
Tags: C#, ASP.NET, Ajax, ActiveX

Preview



When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
  4. Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.
Please note that all posts will be submitted under the The Code Project Open License (CPOL).




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100