In message <11*********************@z14g2000cwz.googlegroups. com>, trint
<tr***********@gmail.com> writes
I can't find a good example for this:
1. Can someone help me find a good example for writing to a Word
document and displaying it?
2. I was told and read that a WebForm can't do this because that would
be like the server executing Word on the local computer to have the Web
App to manipulate and display a Word document.
If this is not impossible, can someone point me toward an example or a
helpful description?
You can automate Word from client-side script, but you will need your
users to allow you to run unsafe activeX controls in Internet Explorer.
This effectively limits you to intranet scenarios where you can control
both the brower and the security settings. We used to provide a
mechanism for users to export data to Excel by emitting an XML data
island into the page and using javascript to navigate the document and
write the data to Excel. Same principle could be applied to Word.
I read somewhere recently that Microsoft will at some point be providing
the means for creating office documents server-side.
--
Steve Walker