actually i want the exact word document to be pasted on HTML, because its a RESUME Building site, and we need to see the exact resume ....below the personal information
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.
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.
ltpindia
Member
91 Points
70 Posts
Display word document in html page.
Dec 30, 2008 05:47 PM|LINK
Hi
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.
Nemesis116
Contributor
4667 Points
927 Posts
Re: Display word document in html page.
Dec 30, 2008 06:21 PM|LINK
Hi
Did you take a look at this custom servercontrol?
Visit my blog
m0v1e
Member
54 Points
15 Posts
Re: Display word document in html page.
Dec 30, 2008 06:29 PM|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:
http://msdn.microsoft.com/en-us/library/aa192495(office.11).asp
Though I'd recommend only doing that if you want to 'preview' content from the file.
Dil
Member
702 Points
112 Posts
Re: Display word document in html page.
Dec 30, 2008 06:30 PM|LINK
May be this helps..
http://www.c-sharpcorner.com/UploadFile/munnamax/WordToHtml03252007065157AM/WordToHtml.aspx
ltpindia
Member
91 Points
70 Posts
Re: Display word document in html page.
Dec 31, 2008 06:31 AM|LINK
m0v1e
Member
54 Points
15 Posts
Re: Display word document in html page.
Dec 31, 2008 02:10 PM|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.
Hua-Jun Li -...
All-Star
75950 Points
5608 Posts
Re: Display word document in html page.
Jan 02, 2009 02:16 AM|LINK
HI,
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.
http://www.codeproject.com/KB/aspnet/wordapplication.aspx
If you have any feedback about my replies, please contact msdnmg@microsoft.com.
Microsoft One Code Framework
shahed.kazi
All-Star
17953 Points
3635 Posts
Re: Display word document in html page.
Jan 02, 2009 03:26 AM|LINK
Try changing the mime type of the page to application/msword.
.NET World |Captcha Control
ltpindia
Member
91 Points
70 Posts
Re: Display word document in html page.
Jan 05, 2009 03:59 PM|LINK
The website will display the uploaded document by the candidate, in part of a webpage
ltpindia
Member
91 Points
70 Posts
Re: Display word document in html page.
Jan 06, 2009 12:05 PM|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