Hello,
Can anyone post sample code of how to display a word document in a table using ASP?
Printable View
Hello,
Can anyone post sample code of how to display a word document in a table using ASP?
read it using FSO object
then display it how you want
http://vbforums.com/showthread.php?s=&threadid=79289
But word format is not text format. So won't you loose all the formatting that way?
he said in table
so i assume he doesnt care about the format
other solution
the client has to have word plugin installed
All you have to do is. Have word installed on the server.
Place a link to the Word document. When you click on the link the Word document will open in the Browser. Try it. I have code you can try, but the first suggestion should work.
I did it. It worked beautifully. But then one day it stopped, a week later it worked great again.:confused:
the USER (client) has to have word installed
If you right click on a word file and open it in notepad, you can see all of the formatting tags and everything. So, when you open it in the webpage, won't you see all the ugly formatting code too?
No you dont' have to have Word installed on you client machine.
I developed a system for the user to view WORD,EXCEL etc files on a pc (Internet cafes etc). Our users are on the move, they don't have their laptops with them.
Look @ this screen capture. You don't have to have WORD,EXCEL etc installed on the pc. Just make sure office is installed in Server.
http://mysite.mweb.co.za/residents/jjvz/excelinie.jpg
They would at least have to download from your server (or have installed) the Office document viewing ActiveX controls.
Yeah, you definatly need an activex, or some other plugin. Perhaps IE has something installed my default, but i know that that won't work in anything but IE...