Last post Mar 16, 2010 10:13 AM by umangjsoni
Dec 30, 2008 06:47 PM|ltpindia|LINK
I am desperately looking for some code, which will display
WORD DOCUMENT onto HTML. either in a panel or any other control.
thanx in advance.
Dec 30, 2008 07:21 PM|Nemesis116|LINK
Did you take a look at
this custom servercontrol?
Dec 30, 2008 07:29 PM|m0v1e|LINK
You want to EMBED the actual document on a page? If so, I'd have to ask, are you sure? Really? ;o)
Otherwise, if you are trying to just get the text from the file, and put it on the page, you can do that via .net:
Though I'd recommend only doing that if you want to 'preview' content from the file.
Dec 30, 2008 07:30 PM|Dil|LINK
May be this helps..
Dec 31, 2008 07:31 AM|ltpindia|LINK
Dec 31, 2008 03:10 PM|m0v1e|LINK
Out of curiosity, if the web site is just making a word document, what's the compelling reason to use the web site to create the resume vs. just opening up my local copy of MS Word or Google Docs or open office?
I'm thinking the best way to go about this would be to have your web site accept the content/data, generate the Word.Doc server-side, then server-side, convert that to a PDF and then display that on the page as Flash Paper.
The advantage is that you'd be getting into a flash based solution which would likely have more client-side installs than an embeddable MS Office document.
Jan 02, 2009 03:16 AM|Hua-Jun Li - MSFT|LINK
If you want to read word file, you should import word object library file MSWORD.OLB,you can get it at the bottom of office installing file.
and import namespace using Microsoft.Office.Interop.Word.
then you can use the class Microsoft.Office.Interop.Word.ApplicationClass to read it. by the way ,in web.config file, you should add <identity impersonate="true"/> to restart the impersonating identity.
But I suggest you can store the resume of student into database,access,or xml. then you can read the info from that.it is simple and efficient.
Here is the link about how to operate the word at asp.net.
Jan 02, 2009 04:26 AM|shahed.kazi|LINK
Try changing the mime type of the page to application/msword.
Jan 05, 2009 04:59 PM|ltpindia|LINK
The website will display the uploaded document by the candidate, in part of a webpage
Jan 06, 2009 01:05 PM|ltpindia|LINK
this control is good.
but it doesnt convert the DOCUMENT UPLOADED on the server... its only after we save it as MHT.
I would like any control which will save the file as MHT.
thx in advance
Mar 16, 2010 10:13 AM|umangjsoni|LINK
i also want to display word document in aspx page but i have one problem. Ms word is not installed on my server so i am not able to use any word dll for that.is have any way to do this stuff???
thanks in advance.