Two questions about office word programming...

  • Thread starter Thread starter trint
  • Start date Start date
T

trint

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?

Thank you very much,
Trint
 
Trint:

The link below may answer part of your first question. I do not have
anything yet regarding your second question.

http://support.microsoft.com/default.aspx?scid=kb;en-us;316384

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.


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?

Thank you very much,
Trint
 
trint said:
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.
 
Thank you both for being very helpful.
Trint

Net programmer
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top